#475C12#475C12

#475C12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.2% C 0.100 H 124.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#475C12
RGBrgb(71, 92, 18)
HSLhsl(77, 67%, 22%)
HSVhsv(77, 80%, 36%)
CMYKcmyk(22.8%, 0%, 80.4%, 63.9%)
CIE-LABlab(36.06, -19.55, 37.23)
CIE-LCHlch(36.06, 42.05, 117.70°)
OKLaboklab(44.21% -0.0568 0.0825)
OKLCHoklch(44.21% 0.1 124.6)
XYZxyz(6.5349, 9.0375, 1.9723)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475C12 #27125C
analogous
#5C4C12 #475C12 #225C12
triadic
#475C12 #12475C #5C1247
tetradic
#475C12 #125C4C #27125C #5C1222
square
#475C12 #125C4C #27125C #5C1222
split-complementary
#475C12 #12225C #4C125C
monochromatic
#141A05 #1F2908 #475C12 #6F8F1C #96C226

Accessibility & contrast

On white

7.48
#475C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#475C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475C12
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475C12#FFFFFF#000000##FFFFFF
##475C121.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#4B574E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #475c12;
/* rgb */ color: rgb(71, 92, 18);
/* oklch */ color: oklch(44.2% 0.100 124.6);
Tailwind
colors: {
  custom: {
    50: '#7d8a56',
    500: '#475c12',
    950: '#000000',
  },
}
SCSS
$custom: #475c12;
$custom-light: #7d8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#475c12",
  "rgb": {
    "r": 71,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 77.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.1002,
    "h": 124.6
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#475C12
secondary
#503594
accent
#3EEA6F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475C12

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

Preview Lab → · Contrast checker → · Palette generator →

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