#406523#406523

#406523 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.104 H 133.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#406523
RGBrgb(64, 101, 35)
HSLhsl(94, 49%, 27%)
HSVhsv(94, 65%, 40%)
CMYKcmyk(36.6%, 0%, 65.3%, 60.4%)
CIE-LABlab(38.76, -25.73, 32.38)
CIE-LCHlch(38.76, 41.36, 128.47°)
OKLaboklab(46.33% -0.0717 0.0751)
OKLCHoklch(46.33% 0.104 133.7)
XYZxyz(7.0713, 10.5184, 3.2475)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406523 #482365
analogous
#616523 #406523 #236527
triadic
#406523 #234065 #652340
tetradic
#406523 #236165 #482365 #652723
square
#406523 #236165 #482365 #652723
split-complementary
#406523 #272365 #652361
monochromatic
#0E1708 #233813 #406523 #5D9233 #7ABE44

Accessibility & contrast

On white

6.77
#406523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#406523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406523
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406523#FFFFFF#000000##FFFFFF
##4065231.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1B
Deuteranopia (green-blind)
#645A28
Tritanopia (blue-blind)
#406157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406523;
/* rgb */ color: rgb(64, 101, 35);
/* oklch */ color: oklch(46.3% 0.104 133.7);
Tailwind
colors: {
  custom: {
    50: '#789161',
    500: '#406523',
    950: '#000000',
  },
}
SCSS
$custom: #406523;
$custom-light: #789161;
$custom-dark: #000000;
JSON
{
  "hex": "#406523",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 35
  },
  "hsl": {
    "h": 93.636,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.10386,
    "h": 133.7
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#406523
secondary
#774B99
accent
#50D89C
background
#F7F8F5
surface
#EDF0EA
border
#C8CBC6
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406523

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#406523 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva