#425017#425017

#425017 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.082 H 122.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#425017
RGBrgb(66, 80, 23)
HSLhsl(75, 55%, 20%)
HSVhsv(75, 71%, 31%)
CMYKcmyk(17.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.71, -14.98, 30.60)
CIE-LCHlch(31.71, 34.08, 116.09°)
OKLaboklab(40.62% -0.0434 0.0696)
OKLCHoklch(40.62% 0.082 122)
XYZxyz(5.2701, 6.9574, 1.8757)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425017 #251750
analogous
#504117 #425017 #255017
triadic
#425017 #174250 #501742
tetradic
#425017 #175041 #251750 #501725
square
#425017 #175041 #251750 #501725
split-complementary
#425017 #172550 #411750
monochromatic
#141807 #1B2009 #425017 #698025 #90AF32

Accessibility & contrast

On white

8.78
#425017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#425017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425017
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425017#FFFFFF#000000##FFFFFF
##4250171.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#464C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #425017;
/* rgb */ color: rgb(66, 80, 23);
/* oklch */ color: oklch(40.6% 0.082 122.0);
Tailwind
colors: {
  custom: {
    50: '#788157',
    500: '#425017',
    950: '#000000',
  },
}
SCSS
$custom: #425017;
$custom-light: #788157;
$custom-dark: #000000;
JSON
{
  "hex": "#425017",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 74.737,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40616,
    "c": 0.08206,
    "h": 122
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#425017
secondary
#4E3C87
accent
#49DF6E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #425017

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

Preview Lab → · Contrast checker → · Palette generator →

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