#406314#406314

#406314 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.113 H 131.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#406314
RGBrgb(64, 99, 20)
HSLhsl(87, 66%, 23%)
HSVhsv(87, 80%, 39%)
CMYKcmyk(35.4%, 0%, 79.8%, 61.2%)
CIE-LABlab(37.96, -26.00, 38.14)
CIE-LCHlch(37.96, 46.16, 124.29°)
OKLaboklab(45.64% -0.0738 0.085)
OKLCHoklch(45.64% 0.113 131)
XYZxyz(6.7024, 10.0639, 2.2511)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406314 #371463
analogous
#635E14 #406314 #186314
triadic
#406314 #144063 #631440
tetradic
#406314 #14635E #371463 #631418
square
#406314 #14635E #371463 #631418
split-complementary
#406314 #141863 #5E1463
monochromatic
#101905 #1F300A #406314 #61961E #82C929

Accessibility & contrast

On white

6.97
#406314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#406314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406314
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406314#FFFFFF#000000##FFFFFF
##4063141.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B04
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#415E54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406314;
/* rgb */ color: rgb(64, 99, 20);
/* oklch */ color: oklch(45.6% 0.113 131.0);
Tailwind
colors: {
  custom: {
    50: '#788f58',
    500: '#406314',
    950: '#000000',
  },
}
SCSS
$custom: #406314;
$custom-light: #788f58;
$custom-dark: #000000;
JSON
{
  "hex": "#406314",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 86.582,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.11253,
    "h": 131
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#406314
secondary
#64389A
accent
#3EE98A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406314

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

Preview Lab → · Contrast checker → · Palette generator →

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