Skip to content
green · neutral

#64862c

a dark, vivid green · neutral · closest name: Olive Drab

Token name suggestion: Dusk Jade

RGB
100, 134, 44
HSL
83°, 51%, 35%
CMYK
25, 0, 67, 48
Luminance
0.1994

#64862c is a dark vivid green, 83° on the wheel and 44/100 on the cool side. Put black text on it (4.99:1). As text it scores 4.21:1 on white — large text only. Nearest name is Olive Drab, nearest Tailwind family is green.

hsl(83 51% 35%)rgb(100 134 44)Base step 800AA inkNeutral

At a glance

Every number on this page in one read: what #64862c is made of, how bright it looks, and which way it leans.

Hex
#64862c
Hue
83°
green
Saturation
51%
vivid
Lightness
35%
dark
Brightness
53%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1994
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
4.99:1
Closest name
Olive Drab
ΔE2000 3.6
Chroma
50.6
LCH, 0–130ish
OKLCH L
0.575
perceptual lightness
Tailwind
green
500 · ΔE 20.8
Web-safe
#669933
nearest of 216
Where it sits
Hue83° of 360°
Saturation51%
Lightness35%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #64862c.

Temperature
Warm ← → Cool44% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red14%
Green86%
Blue1%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#64862c
HEX (8-digit)#64862cff
RGBrgb(100, 134, 44)
RGBArgba(100, 134, 44, 1)
HSLhsl(83, 51%, 35%)
HSV / HSBhsv(83, 67%, 53%)
HWBhwb(83 17% 47%)
CMYKcmyk(25%, 0%, 67%, 48%)
LABlab(51.8 -26.6 43.0)
LCHlch(51.8 50.6 121.7)
OKLCHoklch(0.575 0.124 127.6)
XYZ (D65)xyz(14.24, 19.94, 5.48)
Decimal6587948
Display P3color(display-p3 0.392 0.525 0.173)
Web-safe#669933

Copy-ready code

every platformclick to select
/* CSS */
color: #64862c;
background-color: #64862c;
/* CSS custom property */
--brand: #64862c;
/* Tailwind (arbitrary) */
class="text-[#64862c] bg-[#64862c]"
/* SCSS */
$brand: #64862c;
/* SwiftUI */
Color(red: 0.392, green: 0.525, blue: 0.173)
/* UIKit */
UIColor(red: 0.392, green: 0.525, blue: 0.173, alpha: 1)
/* Android XML */
<color name="brand">#64862C</color>
/* Android Compose */
Color(0xFF64862C)
/* Flutter */
Color(0xFF64862C)
/* Python / OpenCV (BGR) */
(44, 134, 100)
/* Python / PIL (RGB) */
(100, 134, 44)
/* Java AWT */
new Color(100, 134, 44)
/* .NET */
Color.FromArgb(255, 100, 134, 44)
/* OpenGL / Unity (0–1) */
(0.3922f, 0.5255f, 0.1725f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{100,134,44}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #64862c 85%, white);
border-color: color-mix(in oklab, #64862c 40%, transparent);
/* theme-aware in one line */
color: light-dark(#48601F, #E4EED3);
/* relative colour syntax */
--hover: hsl(from #64862c h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F8FAF4;
  --brand-100: #F1F6EA;
  --brand-200: #E1EDCF;
  --brand-300: #CEE3AB;
  --brand-400: #B5D580;
  --brand-500: #9DC856;
  --brand-600: #89B83C;
  --brand-700: #739A32;
  --brand-800: #64862c;
  --brand-900: #445A21;
  --brand-950: #2B3814;
  --brand: #64862c;
  --brand-ink: #000000;
  --brand-surface: #F8FAF4;
  --brand-border: #DBEBC2;
  --brand-hover: #506B23;
  --brand-pressed: #3C501A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #1E2414;
    --brand-ink: #E4EED3;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F8FAF4',
        100: '#F1F6EA',
        200: '#E1EDCF',
        300: '#CEE3AB',
        400: '#B5D580',
        500: '#9DC856',
        600: '#89B83C',
        700: '#739A32',
        800: '#64862c',
        900: '#445A21',
        950: '#2B3814',
        DEFAULT: '#64862c',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F8FAF4,
  '100': #F1F6EA,
  '200': #E1EDCF,
  '300': #CEE3AB,
  '400': #B5D580,
  '500': #9DC856,
  '600': #89B83C,
  '700': #739A32,
  '800': #64862c,
  '900': #445A21,
  '950': #2B3814,
);
$brand-base: #64862c;
$brand-ink: #000000;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F8FAF4", "$type": "color" },
      "100": { "$value": "#F1F6EA", "$type": "color" },
      "200": { "$value": "#E1EDCF", "$type": "color" },
      "300": { "$value": "#CEE3AB", "$type": "color" },
      "400": { "$value": "#B5D580", "$type": "color" },
      "500": { "$value": "#9DC856", "$type": "color" },
      "600": { "$value": "#89B83C", "$type": "color" },
      "700": { "$value": "#739A32", "$type": "color" },
      "800": { "$value": "#64862c", "$type": "color" },
      "900": { "$value": "#445A21", "$type": "color" },
      "950": { "$value": "#2B3814", "$type": "color" }
    },
    "brandInk": { "$value": "#000000", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #64862c · 4.99:1
Use #000000AA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 4.21:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.99:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #64862c as text scores 4.21:1 on white and 4.99:1 on black.
Best tinted ink on it, if plain black or white feels flat: #48601F at 1.68:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#5E7E29 · 4.67:1
AA on white−2% L
#5E7E29
The quick fox
#47601F · 7.09:1
AAA on white−10% L
#47601F
The quick fox
#64862c · 4.99:1
AA on blackalready passes
#64862c
The quick fox
#7BA536 · 7.28:1
AAA on black+8% L
#7BA536

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #64862C is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#64862c on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#64862c on black: 4.99:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #64862c as text on that neutral, and that neutral as text on #64862c.

NeutralRatioBoth directions
White4.21:1AaAa
Slate 504.02:1AaAa
Slate 1003.84:1AaAa
Slate 2003.41:1AaAa
Slate 3002.84:1AaAa
Slate 4001.64:1AaAa
Slate 5001.13:1AaAa
Slate 6001.80:1AaAa
Slate 7002.46:1AaAa
Slate 8003.47:1AaAa
Slate 9004.24:1AaAa
Black4.99:1AaAa
Colour vision deficiency
true color
protanopia · #8D7D20
deuteranopia · #887B33
tritanopia · #688074

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #64862c is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8FAF4
#F1F6EA
#E1EDCF
#CEE3AB
#B5D580
#9DC856
#89B83C
#739A32
#64862c
#445A21
#2B3814
Base = 800Lightest = 50 · #F8FAF4Darkest = 950 · #2B3814Text step on white = 900
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.031 127.6);
  --brand-100: oklch(0.94 0.050 127.6);
  --brand-200: oklch(0.88 0.074 127.6);
  --brand-300: oklch(0.80 0.097 127.6);
  --brand-400: oklch(0.72 0.114 127.6);
  --brand-500: oklch(0.64 0.124 127.6);
  --brand-600: oklch(0.56 0.124 127.6);
  --brand-700: oklch(0.48 0.116 127.6);
  --brand-800: oklch(0.40 0.104 127.6);
  --brand-900: oklch(0.32 0.087 127.6);
  --brand-950: oklch(0.24 0.068 127.6);
}

Colors that work with #64862c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DBEBC2
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#35288A
Second voice, not a rival
Dark variant#48601F
Hover, pressed, headers
Light variant#F4F9EC
Selected rows, tints
Dark surface#1E2414
Dark-mode background
Hover#506B23
One step down in lightness
Pressed#3C501A
Two steps down
Disabled#97A979
Chroma pulled out
Focus ring#729F27
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #64862c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Status meaning — pair it with an icon or label, never colour alone
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
24px / 18.66px bold
Safe as a fill behind white type
No — use #48601F
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

safegrowingnaturalpermissive

Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed.

This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The low lightness adds weight and formality.

Worth knowing

Red/green pairs are the most common colour-blindness failure — never let the two carry meaning alone.

Reads as
  • FormalityHigh
  • EnergyMedium-high
  • Weight65/100
  • TemperatureNeutral
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#4E2C86
Analogous left#867B2C
Analogous right#37862C
Split-complement 1#2C3786
Split-complement 2#7B2C86
Triadic 1#2C6486
Triadic 2#862C64
Tetradic#2C867B
On the wheel
Base+30°−30°+120°+240°+180°83°

#64862c sits at 83°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red39.2%
Green52.5%
Blue17.3%
R · 0–255
100
0x64
G · 0–255
134
0x86
B · 0–255
44
0x2c

CMYK percentages

Cyan25.4%
Magenta0.0%
Yellow67.2%
Key (black)47.5%

Total ink coverage is 140%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#64862c text on a black background

contrast 4.99:1

Card sample

#64862c text on a white background

contrast 4.21:1

Card sample

#64862c on grey

3.84:1

#64862c on its own surface

4.00:1

#64862c on its dark surface

3.79:1

CSS3 live lab

Text font color

The quick brown fox

color: #64862c;
Background color
Panel with #64862c background
background-color: #64862c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #64862c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 134, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 134, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #64862c;
background: linear-gradient(135deg, #64862c, #2C8630);
Gradient text

Gradient headline

background: linear-gradient(90deg, #64862c, #2C8647);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #64862c;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #64862c;
caret-color: #64862c;
Left rule
Pull quote or callout
border-left: 4px solid #64862c;
Ring + tint
Selected chip
background: #F4F9EC;
box-shadow: inset 0 0 0 2px #64862c;
Conic badge
68%
background: conic-gradient(#64862c 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #64862c over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(100, 134, 44, 0.5)
rgb(100 134 44 / 50%)
#64862c80
hsl(83 51% 35% / 50%)
color-mix(in srgb, #64862c 50%, transparent)
Alpha8-digit hexFlat on white
10%#64862c1a#F0F3EA
20%#64862c33#E0E7D5
40%#64862c66#C1CFAB
60%#64862c99#A2B680
80%#64862ccc#839E56

Gradients from #64862c

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #86B43B, #64862c 45%, #48601F);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #64862c, #246F2E);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #64862c, #4E2C86);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #96C44A 0%, #64862c 45%, #48601F 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F8FAF4, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #AC9539 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #389D34 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #48601F 0%, transparent 65%), #64862c;

Monochromatic scale

Palettes built from #64862c

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#64862c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 4.99:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#64862c, answered

What color is #64862c?

#64862c is a dark vivid green, closest to Olive Drab (ΔE2000 3.6). It sits at 83° on the hue wheel with 51% saturation and 35% lightness, which reads as neutral.

What is the RGB value of #64862c?

rgb(100, 134, 44) — 100 red, 134 green and 44 blue out of 255, or 39.2% / 52.5% / 17.3% by channel.

What is #64862c in HSL and HSV?

hsl(83, 51%, 35%) and hsv(83, 67%, 53%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #64862c a light or a dark color?

It is a mid-tone. Relative luminance is 0.1994 and perceived brightness is 46%, so black text on it reaches 4.99:1.

Should I use black or white text on #64862c?

Black. It scores 4.99:1 against #64862c, versus 4.21:1 for white — AA at any size.

Is #64862c accessible on a white background?

#64862c on white scores 4.21:1, which only clears AA for large text — 18.66px bold or 24px regular and up. Darken it to #5E7E29 to reach 4.5:1, or #47601F for 7:1.

What is the complementary color of #64862c?

#4E2C86 sits directly opposite on the wheel. Softer options are the split-complements #2C3786 and #7B2C86, which give the same contrast with far less vibration.

What colors go well with #64862c?

For interface work: #F8FAF4 as the surface, #DBEBC2 for borders, #7D9B4B for secondary text, #35288A as an accent and #48601F for hover and pressed states. For a palette, the analogous pair #867B2C and #37862C stays calm, while #4E2C86 is the loudest partner.

What is #64862c in CMYK for printing?

cmyk(25%, 0%, 67%, 48%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #64862c warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #85862C; nudged cooler, #42882A.

Which Tailwind color is closest to #64862c?

The green family — its 500 step is #22c55e, ΔE2000 20.8 away. That is a visible difference, so define #64862c as a custom token rather than reaching for the built-in.

How do I use #64862c in Tailwind CSS?

Inline it as an arbitrary value with bg-[#64862c] or text-[#64862c], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #64862c with 50% opacity?

rgba(100, 134, 44, 0.5), or #64862c80 in eight-digit hex. Over white that composites to #B2C396; over black, #324316.

Is #64862c a web-safe color?

No. The nearest web-safe colour is #669933, ΔE2000 6.6 away. The palette only matters for legacy displays and some email clients now.

What does the color #64862c mean?

As a green, it reads safe, growing, natural. Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #64862c?

The safest is same-hue elevation: linear-gradient(135deg, #86B43B, #64862c 45%, #48601F). For more colour, a short hue run to #246F2E keeps it rich without turning muddy.

Work with #64862c in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #64862c at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.