#475018#475018

#475018 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.079 H 117.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#475018
RGBrgb(71, 80, 24)
HSLhsl(70, 54%, 20%)
HSVhsv(70, 70%, 31%)
CMYKcmyk(11.2%, 0%, 70%, 68.6%)
CIE-LABlab(32.13, -12.53, 30.69)
CIE-LCHlch(32.13, 33.15, 112.20°)
OKLaboklab(41.06% -0.0368 0.0698)
OKLCHoklch(41.06% 0.079 117.8)
XYZxyz(5.6322, 7.1429, 1.9460)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475018 #211850
analogous
#503D18 #475018 #2B5018
triadic
#475018 #184750 #501847
tetradic
#475018 #18503D #211850 #50182B
square
#475018 #18503D #211850 #50182B
split-complementary
#475018 #182B50 #3D1850
monochromatic
#151807 #1D210A #475018 #717F26 #9BAE34

Accessibility & contrast

On white

8.65
#475018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#475018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475018
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475018#FFFFFF#000000##FFFFFF
##4750181.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B11
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#4C4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #475018;
/* rgb */ color: rgb(71, 80, 24);
/* oklch */ color: oklch(41.1% 0.079 117.8);
Tailwind
colors: {
  custom: {
    50: '#7c8158',
    500: '#475018',
    950: '#000000',
  },
}
SCSS
$custom: #475018;
$custom-light: #7c8158;
$custom-dark: #000000;
JSON
{
  "hex": "#475018",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 69.643,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41061,
    "c": 0.07896,
    "h": 117.8
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#475018
secondary
#493D87
accent
#4BDD62
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475018

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

Preview Lab → · Contrast checker → · Palette generator →

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