#475118#475118

#475118 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.3% C 0.080 H 118.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#475118
RGBrgb(71, 81, 24)
HSLhsl(71, 54%, 21%)
HSVhsv(71, 70%, 32%)
CMYKcmyk(12.3%, 0%, 70.4%, 68.2%)
CIE-LABlab(32.46, -13.10, 31.04)
CIE-LCHlch(32.46, 33.69, 112.88°)
OKLaboklab(41.33% -0.0384 0.0706)
OKLCHoklch(41.33% 0.08 118.6)
XYZxyz(5.7059, 7.2904, 1.9706)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475118 #221851
analogous
#513E18 #475118 #2A5118
triadic
#475118 #184751 #511847
tetradic
#475118 #18513E #221851 #51182A
square
#475118 #18513E #221851 #51182A
split-complementary
#475118 #182A51 #3E1851
monochromatic
#151807 #1E220A #475118 #708026 #9AAF34

Accessibility & contrast

On white

8.54
#475118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#475118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475118
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475118#FFFFFF#000000##FFFFFF
##4751181.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C11
Deuteranopia (green-blind)
#554D1C
Tritanopia (blue-blind)
#4B4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #475118;
/* rgb */ color: rgb(71, 81, 24);
/* oklch */ color: oklch(41.3% 0.080 118.6);
Tailwind
colors: {
  custom: {
    50: '#7c8158',
    500: '#475118',
    950: '#000000',
  },
}
SCSS
$custom: #475118;
$custom-light: #7c8158;
$custom-dark: #000000;
JSON
{
  "hex": "#475118",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 70.526,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.08036,
    "h": 118.6
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#475118
secondary
#4A3D88
accent
#4ADE64
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475118

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

Preview Lab → · Contrast checker → · Palette generator →

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