#475E12#475E12

#475E12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.8% C 0.103 H 125.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#475E12
RGBrgb(71, 94, 18)
HSLhsl(78, 68%, 22%)
HSVhsv(78, 81%, 37%)
CMYKcmyk(24.5%, 0%, 80.9%, 63.1%)
CIE-LABlab(36.72, -20.60, 37.86)
CIE-LCHlch(36.72, 43.10, 118.55°)
OKLaboklab(44.75% -0.0597 0.0838)
OKLCHoklch(44.75% 0.103 125.5)
XYZxyz(6.7105, 9.3886, 2.0308)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475E12 #29125E
analogous
#5E4F12 #475E12 #215E12
triadic
#475E12 #12475E #5E1247
tetradic
#475E12 #125E4F #29125E #5E1221
square
#475E12 #125E4F #29125E #5E1221
split-complementary
#475E12 #12215E #4F125E
monochromatic
#131A05 #202B08 #475E12 #6E911C #95C526

Accessibility & contrast

On white

7.30
#475E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#475E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475E12
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475E12#FFFFFF#000000##FFFFFF
##475E121.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#4B5950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #475e12;
/* rgb */ color: rgb(71, 94, 18);
/* oklch */ color: oklch(44.8% 0.103 125.5);
Tailwind
colors: {
  custom: {
    50: '#7d8b57',
    500: '#475e12',
    950: '#000000',
  },
}
SCSS
$custom: #475e12;
$custom-light: #7d8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#475e12",
  "rgb": {
    "r": 71,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 78.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.10294,
    "h": 125.5
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#475E12
secondary
#533596
accent
#3DEB72
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #475E12

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

Preview Lab → · Contrast checker → · Palette generator →

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