#407210#407210

#407210 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.135 H 133.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#407210
RGBrgb(64, 114, 16)
HSLhsl(91, 75%, 25%)
HSVhsv(91, 86%, 45%)
CMYKcmyk(43.9%, 0%, 86%, 55.3%)
CIE-LABlab(43.01, -33.18, 44.16)
CIE-LCHlch(43.01, 55.24, 126.92°)
OKLaboklab(49.76% -0.0934 0.097)
OKLCHoklch(49.76% 0.135 133.9)
XYZxyz(8.2250, 13.1616, 2.5972)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407210 #421072
analogous
#717210 #407210 #107211
triadic
#407210 #104072 #721040
tetradic
#407210 #107172 #421072 #721110
square
#407210 #107172 #421072 #721110
split-complementary
#407210 #111072 #721071
monochromatic
#0F1B04 #223C08 #407210 #5EA818 #7CDD1F

Accessibility & contrast

On white

5.78
#407210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#407210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407210
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407210#FFFFFF#000000##FFFFFF
##4072101.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#406D60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407210;
/* rgb */ color: rgb(64, 114, 16);
/* oklch */ color: oklch(49.8% 0.135 133.9);
Tailwind
colors: {
  custom: {
    50: '#7a9b59',
    500: '#407210',
    950: '#000000',
  },
}
SCSS
$custom: #407210;
$custom-light: #7a9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#407210",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 90.612,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.13461,
    "h": 133.9
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#407210
secondary
#7034A9
accent
#36F296
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407210

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

Preview Lab → · Contrast checker → · Palette generator →

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