#475818#475818

#475818 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.090 H 123.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#475818
RGBrgb(71, 88, 24)
HSLhsl(76, 57%, 22%)
HSVhsv(76, 73%, 35%)
CMYKcmyk(19.3%, 0%, 72.7%, 65.5%)
CIE-LABlab(34.77, -17.00, 33.46)
CIE-LCHlch(34.77, 37.53, 116.93°)
OKLaboklab(43.19% -0.0492 0.0757)
OKLCHoklch(43.19% 0.09 123.1)
XYZxyz(6.2532, 8.3850, 2.1530)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475818 #291858
analogous
#584918 #475818 #275818
triadic
#475818 #184758 #581847
tetradic
#475818 #185849 #291858 #581827
square
#475818 #185849 #291858 #581827
split-complementary
#475818 #182758 #491858
monochromatic
#131807 #20280B #475818 #6E8825 #95B832

Accessibility & contrast

On white

7.84
#475818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#475818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475818
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475818#FFFFFF#000000##FFFFFF
##4758181.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#4B534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475818;
/* rgb */ color: rgb(71, 88, 24);
/* oklch */ color: oklch(43.2% 0.090 123.1);
Tailwind
colors: {
  custom: {
    50: '#7c8759',
    500: '#475818',
    950: '#000000',
  },
}
SCSS
$custom: #475818;
$custom-light: #7c8759;
$custom-dark: #000000;
JSON
{
  "hex": "#475818",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 75.938,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.09028,
    "h": 123.1
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#475818
secondary
#533D8F
accent
#47E070
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475818

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

Preview Lab → · Contrast checker → · Palette generator →

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