#425217#425217

#425217 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.085 H 123.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#425217
RGBrgb(66, 82, 23)
HSLhsl(76, 56%, 21%)
HSVhsv(76, 72%, 32%)
CMYKcmyk(19.5%, 0%, 72%, 67.8%)
CIE-LABlab(32.38, -16.10, 31.31)
CIE-LCHlch(32.38, 35.20, 117.21°)
OKLaboklab(41.16% -0.0465 0.0711)
OKLCHoklch(41.16% 0.085 123.2)
XYZxyz(5.4188, 7.2547, 1.9253)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425217 #271752
analogous
#524417 #425217 #245217
triadic
#425217 #174252 #521742
tetradic
#425217 #175244 #271752 #521724
square
#425217 #175244 #271752 #521724
split-complementary
#425217 #172452 #441752
monochromatic
#131807 #1C220A #425217 #688224 #8FB232

Accessibility & contrast

On white

8.57
#425217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#425217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425217
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425217#FFFFFF#000000##FFFFFF
##4252171.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#464E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #425217;
/* rgb */ color: rgb(66, 82, 23);
/* oklch */ color: oklch(41.2% 0.085 123.2);
Tailwind
colors: {
  custom: {
    50: '#788258',
    500: '#425217',
    950: '#000000',
  },
}
SCSS
$custom: #425217;
$custom-light: #788258;
$custom-dark: #000000;
JSON
{
  "hex": "#425217",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 76.271,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.08497,
    "h": 123.2
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#425217
secondary
#513C89
accent
#48DF71
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #425217

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

Preview Lab → · Contrast checker → · Palette generator →

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