#475D12#475D12

#475D12 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.5% C 0.102 H 125.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#475D12
RGBrgb(71, 93, 18)
HSLhsl(78, 68%, 22%)
HSVhsv(78, 81%, 36%)
CMYKcmyk(23.7%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.39, -20.07, 37.54)
CIE-LCHlch(36.39, 42.57, 118.13°)
OKLaboklab(44.48% -0.0583 0.0832)
OKLCHoklch(44.48% 0.102 125)
XYZxyz(6.6221, 9.2119, 2.0013)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475D12 #28125D
analogous
#5D4E12 #475D12 #225D12
triadic
#475D12 #12475D #5D1247
tetradic
#475D12 #125D4E #28125D #5D1222
square
#475D12 #125D4E #28125D #5D1222
split-complementary
#475D12 #12225D #4E125D
monochromatic
#141A05 #202A08 #475D12 #6E901C #95C426

Accessibility & contrast

On white

7.39
#475D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#475D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475D12
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475D12#FFFFFF#000000##FFFFFF
##475D121.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635603
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#4B584F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #475d12;
/* rgb */ color: rgb(71, 93, 18);
/* oklch */ color: oklch(44.5% 0.102 125.0);
Tailwind
colors: {
  custom: {
    50: '#7d8b56',
    500: '#475d12',
    950: '#000000',
  },
}
SCSS
$custom: #475d12;
$custom-light: #7d8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#475d12",
  "rgb": {
    "r": 71,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 77.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.10157,
    "h": 125
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#475D12
secondary
#523595
accent
#3DEA70
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #475D12

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

Preview Lab → · Contrast checker → · Palette generator →

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