#475E1B#475E1B

#475E1B is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.8% C 0.096 H 126.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#475E1B
RGBrgb(71, 94, 27)
HSLhsl(81, 55%, 24%)
HSVhsv(81, 71%, 37%)
CMYKcmyk(24.5%, 0%, 71.3%, 63.1%)
CIE-LABlab(36.79, -19.98, 34.19)
CIE-LCHlch(36.79, 39.60, 120.30°)
OKLaboklab(44.83% -0.0572 0.0777)
OKLCHoklch(44.83% 0.096 126.3)
XYZxyz(6.7991, 9.4240, 2.4975)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475E1B #321B5E
analogous
#5E531B #475E1B #255E1B
triadic
#475E1B #1B475E #5E1B47
tetradic
#475E1B #1B5E53 #321B5E #5E1B25
square
#475E1B #1B5E53 #321B5E #5E1B25
split-complementary
#475E1B #1B255E #531B5E
monochromatic
#121807 #232E0D #475E1B #6B8E29 #8FBD36

Accessibility & contrast

On white

7.28
#475E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#475E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475E1B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475E1B#FFFFFF#000000##FFFFFF
##475E1B1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635712
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#4A5950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475e1b;
/* rgb */ color: rgb(71, 94, 27);
/* oklch */ color: oklch(44.8% 0.096 126.3);
Tailwind
colors: {
  custom: {
    50: '#7c8b5b',
    500: '#475e1b',
    950: '#000000',
  },
}
SCSS
$custom: #475e1b;
$custom-light: #7c8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#475e1b",
  "rgb": {
    "r": 71,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 80.597,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.09645,
    "h": 126.3
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#475E1B
secondary
#5D4194
accent
#49DF7C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475E1B

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

Preview Lab → · Contrast checker → · Palette generator →

#475E1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva