#475418#475418

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

Color values

HEX#475418
RGBrgb(71, 84, 24)
HSLhsl(73, 56%, 21%)
HSVhsv(73, 71%, 33%)
CMYKcmyk(15.5%, 0%, 71.4%, 67.1%)
CIE-LABlab(33.45, -14.79, 32.08)
CIE-LCHlch(33.45, 35.33, 114.75°)
OKLaboklab(42.12% -0.0431 0.0728)
OKLCHoklch(42.12% 0.085 120.7)
XYZxyz(5.9338, 7.7462, 2.0465)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475418 #251854
analogous
#544318 #475418 #295418
triadic
#475418 #184754 #541847
tetradic
#475418 #185443 #251854 #541829
square
#475418 #185443 #251854 #541829
split-complementary
#475418 #182954 #431854
monochromatic
#141807 #1F240A #475418 #6F8426 #97B333

Accessibility & contrast

On white

8.24
#475418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#475418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475418
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475418#FFFFFF#000000##FFFFFF
##4754181.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F10
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#4B4F48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #475418;
/* rgb */ color: rgb(71, 84, 24);
/* oklch */ color: oklch(42.1% 0.085 120.7);
Tailwind
colors: {
  custom: {
    50: '#7c8458',
    500: '#475418',
    950: '#000000',
  },
}
SCSS
$custom: #475418;
$custom-light: #7c8458;
$custom-dark: #000000;
JSON
{
  "hex": "#475418",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 73,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.08459,
    "h": 120.7
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#475418
secondary
#4E3D8B
accent
#49DF69
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475418

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

Preview Lab → · Contrast checker → · Palette generator →

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