#475312#475312

#475312 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.8% C 0.088 H 119.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#475312
RGBrgb(71, 83, 18)
HSLhsl(71, 64%, 20%)
HSVhsv(71, 78%, 33%)
CMYKcmyk(14.5%, 0%, 78.3%, 67.5%)
CIE-LABlab(33.07, -14.65, 34.35)
CIE-LCHlch(33.07, 37.34, 113.10°)
OKLaboklab(41.8% -0.0434 0.0765)
OKLCHoklch(41.8% 0.088 119.6)
XYZxyz(5.8011, 7.5698, 1.7277)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475312 #1E1253
analogous
#533F12 #475312 #275312
triadic
#475312 #124753 #531247
tetradic
#475312 #12533F #1E1253 #531227
square
#475312 #12533F #1E1253 #531227
split-complementary
#475312 #122753 #3F1253
monochromatic
#161905 #1C2107 #475312 #72851D #9DB828

Accessibility & contrast

On white

8.35
#475312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#475312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475312
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475312#FFFFFF#000000##FFFFFF
##4753121.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#4C4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #475312;
/* rgb */ color: rgb(71, 83, 18);
/* oklch */ color: oklch(41.8% 0.088 119.6);
Tailwind
colors: {
  custom: {
    50: '#7c8355',
    500: '#475312',
    950: '#000000',
  },
}
SCSS
$custom: #475312;
$custom-light: #7c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#475312",
  "rgb": {
    "r": 71,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 71.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.08791,
    "h": 119.6
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#475312
secondary
#45358C
accent
#40E75F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475312

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

Preview Lab → · Contrast checker → · Palette generator →

#475312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva