#475F16#475F16

#475F16 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.102 H 126.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#475F16
RGBrgb(71, 95, 22)
HSLhsl(80, 62%, 23%)
HSVhsv(80, 77%, 37%)
CMYKcmyk(25.3%, 0%, 76.8%, 62.7%)
CIE-LABlab(37.08, -20.87, 36.65)
CIE-LCHlch(37.08, 42.18, 119.66°)
OKLaboklab(45.05% -0.0601 0.082)
OKLCHoklch(45.05% 0.102 126.2)
XYZxyz(6.8356, 9.5818, 2.2482)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F16 #2E165F
analogous
#5F5216 #475F16 #225F16
triadic
#475F16 #16475F #5F1647
tetradic
#475F16 #165F52 #2E165F #5F1622
square
#475F16 #165F52 #2E165F #5F1622
split-complementary
#475F16 #16225F #52165F
monochromatic
#131906 #222D0A #475F16 #6C9122 #91C22D

Accessibility & contrast

On white

7.20
#475F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#475F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F16
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F16#FFFFFF#000000##FFFFFF
##475F161.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#4A5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f16;
/* rgb */ color: rgb(71, 95, 22);
/* oklch */ color: oklch(45.1% 0.102 126.2);
Tailwind
colors: {
  custom: {
    50: '#7d8c59',
    500: '#475f16',
    950: '#000000',
  },
}
SCSS
$custom: #475f16;
$custom-light: #7d8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#475f16",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 79.726,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.10168,
    "h": 126.2
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#475F16
secondary
#593B96
accent
#42E578
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F16

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

Preview Lab → · Contrast checker → · Palette generator →

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