#475F1B#475F1B

#475F1B is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.098 H 126.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#475F1B
RGBrgb(71, 95, 27)
HSLhsl(81, 56%, 24%)
HSVhsv(81, 72%, 37%)
CMYKcmyk(25.3%, 0%, 71.6%, 62.7%)
CIE-LABlab(37.12, -20.50, 34.54)
CIE-LCHlch(37.12, 40.16, 120.69°)
OKLaboklab(45.1% -0.0586 0.0784)
OKLCHoklch(45.1% 0.098 126.8)
XYZxyz(6.8886, 9.6030, 2.5273)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F1B #331B5F
analogous
#5F551B #475F1B #255F1B
triadic
#475F1B #1B475F #5F1B47
tetradic
#475F1B #1B5F55 #331B5F #5F1B25
square
#475F1B #1B5F55 #331B5F #5F1B25
split-complementary
#475F1B #1B255F #551B5F
monochromatic
#121807 #232F0D #475F1B #6B8F29 #8EBE36

Accessibility & contrast

On white

7.19
#475F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#475F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F1B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F1B#FFFFFF#000000##FFFFFF
##475F1B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645811
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#4A5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f1b;
/* rgb */ color: rgb(71, 95, 27);
/* oklch */ color: oklch(45.1% 0.098 126.8);
Tailwind
colors: {
  custom: {
    50: '#7d8c5c',
    500: '#475f1b',
    950: '#000000',
  },
}
SCSS
$custom: #475f1b;
$custom-light: #7d8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#475f1b",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 81.176,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.0979,
    "h": 126.8
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#475F1B
secondary
#5F4195
accent
#49DF7E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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