#407214#407214

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

Color values

HEX#407214
RGBrgb(64, 114, 20)
HSLhsl(92, 70%, 26%)
HSVhsv(92, 82%, 45%)
CMYKcmyk(43.9%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.03, -32.97, 42.95)
CIE-LCHlch(43.03, 54.14, 127.51°)
OKLaboklab(49.78% -0.0926 0.0951)
OKLCHoklch(49.78% 0.133 134.2)
XYZxyz(8.2578, 13.1747, 2.7695)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407214 #461472
analogous
#6F7214 #407214 #147217
triadic
#407214 #144072 #721440
tetradic
#407214 #146F72 #461472 #721714
square
#407214 #146F72 #461472 #721714
split-complementary
#407214 #171472 #72146F
monochromatic
#0F1A05 #233E0B #407214 #5DA61D #7BD927

Accessibility & contrast

On white

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

On black

3.64
#407214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##407214#FFFFFF#000000##FFFFFF
##4072141.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#3F6D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407214;
/* rgb */ color: rgb(64, 114, 20);
/* oklch */ color: oklch(49.8% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#7a9b5a',
    500: '#407214',
    950: '#000000',
  },
}
SCSS
$custom: #407214;
$custom-light: #7a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#407214",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 91.915,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49783,
    "c": 0.13269,
    "h": 134.2
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#407214
secondary
#7439A8
accent
#3BED9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407214

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

Preview Lab → · Contrast checker → · Palette generator →

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