#416F12#416F12

#416F12 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.129 H 133.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#416F12
RGBrgb(65, 111, 18)
HSLhsl(90, 72%, 25%)
HSVhsv(90, 84%, 44%)
CMYKcmyk(41.4%, 0%, 83.8%, 56.5%)
CIE-LABlab(42.06, -31.36, 42.71)
CIE-LCHlch(42.06, 52.99, 126.29°)
OKLaboklab(49% -0.0884 0.0942)
OKLCHoklch(49% 0.129 133.2)
XYZxyz(7.9735, 12.5360, 2.5717)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#416F12 #40126F
analogous
#6F6E12 #416F12 #136F12
triadic
#416F12 #12416F #6F1241
tetradic
#416F12 #126F6E #40126F #6F1213
square
#416F12 #126F6E #40126F #6F1213
split-complementary
#416F12 #12136F #6E126F
monochromatic
#0F1A04 #223A09 #416F12 #60A41B #7FD823

Accessibility & contrast

On white

5.99
#416F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#416F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #416F12
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##416F12#FFFFFF#000000##FFFFFF
##416F121.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#416A5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #416f12;
/* rgb */ color: rgb(65, 111, 18);
/* oklch */ color: oklch(49.0% 0.129 133.2);
Tailwind
colors: {
  custom: {
    50: '#7a9859',
    500: '#416f12',
    950: '#000000',
  },
}
SCSS
$custom: #416f12;
$custom-light: #7a9859;
$custom-dark: #000000;
JSON
{
  "hex": "#416f12",
  "rgb": {
    "r": 65,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 89.677,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49,
    "c": 0.12922,
    "h": 133.2
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#416F12
secondary
#6E37A6
accent
#39EF93
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #416F12

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

Preview Lab → · Contrast checker → · Palette generator →

#416F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva