#475412#475412

#475412 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.1% C 0.089 H 120.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#475412
RGBrgb(71, 84, 18)
HSLhsl(72, 65%, 20%)
HSVhsv(72, 79%, 33%)
CMYKcmyk(15.5%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.40, -15.21, 34.67)
CIE-LCHlch(33.40, 37.86, 113.68°)
OKLaboklab(42.07% -0.0449 0.0771)
OKLCHoklch(42.07% 0.089 120.2)
XYZxyz(5.8781, 7.7239, 1.7533)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475412 #1F1254
analogous
#544012 #475412 #265412
triadic
#475412 #124754 #541247
tetradic
#475412 #125440 #1F1254 #541226
square
#475412 #125440 #1F1254 #541226
split-complementary
#475412 #122654 #401254
monochromatic
#151905 #1C2207 #475412 #72861D #9CB928

Accessibility & contrast

On white

8.25
#475412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#475412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475412
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475412#FFFFFF#000000##FFFFFF
##4754121.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#4B4F47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #475412;
/* rgb */ color: rgb(71, 84, 18);
/* oklch */ color: oklch(42.1% 0.089 120.2);
Tailwind
colors: {
  custom: {
    50: '#7d8455',
    500: '#475412',
    950: '#000000',
  },
}
SCSS
$custom: #475412;
$custom-light: #7d8455;
$custom-dark: #000000;
JSON
{
  "hex": "#475412",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 71.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.08927,
    "h": 120.2
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#475412
secondary
#46358D
accent
#40E861
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475412

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

Preview Lab → · Contrast checker → · Palette generator →

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