#475A0F#475A0F

#475A0F is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.099 H 123.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#475A0F
RGBrgb(71, 90, 15)
HSLhsl(75, 71%, 21%)
HSVhsv(75, 83%, 35%)
CMYKcmyk(21.1%, 0%, 83.3%, 64.7%)
CIE-LABlab(35.37, -18.65, 37.68)
CIE-LCHlch(35.37, 42.04, 116.33°)
OKLaboklab(43.65% -0.0546 0.0829)
OKLCHoklch(43.65% 0.099 123.4)
XYZxyz(6.3410, 8.6864, 1.7944)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A0F #220F5A
analogous
#5A470F #475A0F #215A0F
triadic
#475A0F #0F475A #5A0F47
tetradic
#475A0F #0F5A47 #220F5A #5A0F21
square
#475A0F #0F5A47 #220F5A #5A0F21
split-complementary
#475A0F #0F215A #470F5A
monochromatic
#151A04 #1E2606 #475A0F #708E18 #9AC320

Accessibility & contrast

On white

7.67
#475A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#475A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A0F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A0F#FFFFFF#000000##FFFFFF
##475A0F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#4B554C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a0f;
/* rgb */ color: rgb(71, 90, 15);
/* oklch */ color: oklch(43.7% 0.099 123.4);
Tailwind
colors: {
  custom: {
    50: '#7d8855',
    500: '#475a0f',
    950: '#000000',
  },
}
SCSS
$custom: #475a0f;
$custom-light: #7d8855;
$custom-dark: #000000;
JSON
{
  "hex": "#475a0f",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 75.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.0993,
    "h": 123.4
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#475A0F
secondary
#4A3194
accent
#3AEE67
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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