#407412#407412

#407412 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.136 H 134.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#407412
RGBrgb(64, 116, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 84%, 45%)
CMYKcmyk(44.8%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.69, -33.96, 44.19)
CIE-LCHlch(43.69, 55.73, 127.54°)
OKLaboklab(50.32% -0.0954 0.0973)
OKLCHoklch(50.32% 0.136 134.4)
XYZxyz(8.4688, 13.6240, 2.7556)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407412 #461274
analogous
#717412 #407412 #127415
triadic
#407412 #124074 #741240
tetradic
#407412 #127174 #461274 #741512
square
#407412 #127174 #461274 #741512
split-complementary
#407412 #151274 #741271
monochromatic
#0F1A04 #233F0A #407412 #5DA91A #7BDD23

Accessibility & contrast

On white

5.64
#407412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#407412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407412
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407412#FFFFFF#000000##FFFFFF
##4074121.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#3F6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407412;
/* rgb */ color: rgb(64, 116, 18);
/* oklch */ color: oklch(50.3% 0.136 134.4);
Tailwind
colors: {
  custom: {
    50: '#7a9c5a',
    500: '#407412',
    950: '#000000',
  },
}
SCSS
$custom: #407412;
$custom-light: #7a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#407412",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 91.837,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.13627,
    "h": 134.4
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#407412
secondary
#7437AB
accent
#38F09A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407412

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

Preview Lab → · Contrast checker → · Palette generator →

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