#409012#409012

#409012 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.0% C 0.171 H 137.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#409012
RGBrgb(64, 144, 18)
HSLhsl(98, 78%, 32%)
HSVhsv(98, 88%, 56%)
CMYKcmyk(55.6%, 0%, 87.5%, 43.5%)
CIE-LABlab(53.04, -45.38, 52.55)
CIE-LCHlch(53.04, 69.43, 130.81°)
OKLaboklab(58.02% -0.1259 0.115)
OKLCHoklch(58.02% 0.171 137.6)
XYZxyz(12.1964, 21.0792, 3.9981)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#409012 #621290
analogous
#7F9012 #409012 #129023
triadic
#409012 #124090 #901240
tetradic
#409012 #127F90 #621290 #902312
square
#409012 #127F90 #621290 #902312
split-complementary
#409012 #231290 #90127F
monochromatic
#102304 #285A0B #409012 #58C619 #77E636

Accessibility & contrast

On white

4.03
#409012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#409012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #409012
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##409012#FFFFFF#000000##000000
##4090121.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#3A8B7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #409012;
/* rgb */ color: rgb(64, 144, 18);
/* oklch */ color: oklch(58.0% 0.171 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eb15f',
    500: '#409012',
    950: '#000000',
  },
}
SCSS
$custom: #409012;
$custom-light: #7eb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#409012",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 18
  },
  "hsl": {
    "h": 98.095,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.17052,
    "h": 137.6
  },
  "luminance": 0.2108
}

Semantic roles & 50–950 ramp

primary
#409012
secondary
#923AC4
accent
#34F4AE
background
#F8FBF5
surface
#EFF6EA
border
#CAD0C6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #409012

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

Preview Lab → · Contrast checker → · Palette generator →

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