#416212#416212

#416212 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.4% C 0.112 H 130.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#416212
RGBrgb(65, 98, 18)
HSLhsl(85, 69%, 23%)
HSVhsv(85, 82%, 38%)
CMYKcmyk(33.7%, 0%, 81.6%, 61.6%)
CIE-LABlab(37.67, -25.22, 38.62)
CIE-LCHlch(37.67, 46.12, 123.15°)
OKLaboklab(45.42% -0.0719 0.0856)
OKLCHoklch(45.42% 0.112 130)
XYZxyz(6.6568, 9.9026, 2.1328)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#416212 #331262
analogous
#625B12 #416212 #196212
triadic
#416212 #124162 #621241
tetradic
#416212 #12625B #331262 #621219
square
#416212 #12625B #331262 #621219
split-complementary
#416212 #121962 #5B1262
monochromatic
#111A05 #1F2E09 #416212 #63961B #86C925

Accessibility & contrast

On white

7.05
#416212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#416212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #416212
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##416212#FFFFFF#000000##FFFFFF
##4162121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#435D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #416212;
/* rgb */ color: rgb(65, 98, 18);
/* oklch */ color: oklch(45.4% 0.112 130.0);
Tailwind
colors: {
  custom: {
    50: '#798f57',
    500: '#416212',
    950: '#000000',
  },
}
SCSS
$custom: #416212;
$custom-light: #798f57;
$custom-dark: #000000;
JSON
{
  "hex": "#416212",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 84.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.11178,
    "h": 130
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#416212
secondary
#5F369A
accent
#3CEC85
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #416212

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

Preview Lab → · Contrast checker → · Palette generator →

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