#475F14#475F14

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

Color values

HEX#475F14
RGBrgb(71, 95, 20)
HSLhsl(79, 65%, 23%)
HSVhsv(79, 79%, 37%)
CMYKcmyk(25.3%, 0%, 78.9%, 62.7%)
CIE-LABlab(37.07, -21.00, 37.43)
CIE-LCHlch(37.07, 42.92, 119.29°)
OKLaboklab(45.04% -0.0606 0.0833)
OKLCHoklch(45.04% 0.103 126)
XYZxyz(6.8170, 9.5744, 2.1506)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F14 #2C145F
analogous
#5F5114 #475F14 #225F14
triadic
#475F14 #14475F #5F1447
tetradic
#475F14 #145F51 #2C145F #5F1422
square
#475F14 #145F51 #2C145F #5F1422
split-complementary
#475F14 #14225F #51145F
monochromatic
#131905 #212C09 #475F14 #6D921F #93C429

Accessibility & contrast

On white

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

On black

2.91
#475F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##475F14#FFFFFF#000000##FFFFFF
##475F141.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475f14;
/* rgb */ color: rgb(71, 95, 20);
/* oklch */ color: oklch(45.0% 0.103 126.0);
Tailwind
colors: {
  custom: {
    50: '#7d8c58',
    500: '#475f14',
    950: '#000000',
  },
}
SCSS
$custom: #475f14;
$custom-light: #7d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#475f14",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 79.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.10304,
    "h": 126
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#475F14
secondary
#563897
accent
#40E876
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #475F14

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

Preview Lab → · Contrast checker → · Palette generator →

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