#475F1F#475F1F

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

Color values

HEX#475F1F
RGBrgb(71, 95, 31)
HSLhsl(83, 51%, 25%)
HSVhsv(83, 67%, 37%)
CMYKcmyk(25.3%, 0%, 67.4%, 62.7%)
CIE-LABlab(37.16, -20.16, 32.70)
CIE-LCHlch(37.16, 38.42, 121.65°)
OKLaboklab(45.14% -0.0573 0.0752)
OKLCHoklch(45.14% 0.094 127.3)
XYZxyz(6.9381, 9.6228, 2.7879)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F1F #371F5F
analogous
#5F571F #475F1F #275F1F
triadic
#475F1F #1F475F #5F1F47
tetradic
#475F1F #1F5F57 #371F5F #5F1F27
square
#475F1F #1F5F57 #371F5F #5F1F27
split-complementary
#475F1F #1F275F #571F5F
monochromatic
#111708 #253110 #475F1F #698D2E #8CBB3D

Accessibility & contrast

On white

7.18
#475F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F1F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F1F#FFFFFF#000000##FFFFFF
##475F1F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645817
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#4A5B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f1f;
/* rgb */ color: rgb(71, 95, 31);
/* oklch */ color: oklch(45.1% 0.094 127.3);
Tailwind
colors: {
  custom: {
    50: '#7c8c5e',
    500: '#475f1f',
    950: '#000000',
  },
}
SCSS
$custom: #475f1f;
$custom-light: #7c8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#475f1f",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 82.5,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.09448,
    "h": 127.3
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#475F1F
secondary
#634694
accent
#4EDA82
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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