#475B18#475B18

#475B18 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.095 H 124.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#475B18
RGBrgb(71, 91, 24)
HSLhsl(78, 58%, 23%)
HSVhsv(78, 74%, 36%)
CMYKcmyk(22%, 0%, 73.6%, 64.3%)
CIE-LABlab(35.77, -18.62, 34.48)
CIE-LCHlch(35.77, 39.18, 118.37°)
OKLaboklab(43.99% -0.0537 0.0778)
OKLCHoklch(43.99% 0.095 124.6)
XYZxyz(6.5045, 8.8876, 2.2368)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475B18 #2C185B
analogous
#5B4D18 #475B18 #265B18
triadic
#475B18 #18475B #5B1847
tetradic
#475B18 #185B4D #2C185B #5B1826
square
#475B18 #185B4D #2C185B #5B1826
split-complementary
#475B18 #18265B #4D185B
monochromatic
#131806 #212B0B #475B18 #6D8B25 #93BC32

Accessibility & contrast

On white

7.56
#475B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#475B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475B18
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475B18#FFFFFF#000000##FFFFFF
##475B181.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550E
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#4B564E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475b18;
/* rgb */ color: rgb(71, 91, 24);
/* oklch */ color: oklch(44.0% 0.095 124.6);
Tailwind
colors: {
  custom: {
    50: '#7c8959',
    500: '#475b18',
    950: '#000000',
  },
}
SCSS
$custom: #475b18;
$custom-light: #7c8959;
$custom-dark: #000000;
JSON
{
  "hex": "#475b18",
  "rgb": {
    "r": 71,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 77.91,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.09455,
    "h": 124.6
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#475B18
secondary
#563D92
accent
#46E175
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #475B18

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

Preview Lab → · Contrast checker → · Palette generator →

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