#475F15#475F15

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

Color values

HEX#475F15
RGBrgb(71, 95, 21)
HSLhsl(79, 64%, 23%)
HSVhsv(79, 78%, 37%)
CMYKcmyk(25.3%, 0%, 77.9%, 62.7%)
CIE-LABlab(37.07, -20.93, 37.05)
CIE-LCHlch(37.07, 42.55, 119.47°)
OKLaboklab(45.04% -0.0604 0.0827)
OKLCHoklch(45.04% 0.102 126.1)
XYZxyz(6.8261, 9.5780, 2.1984)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F15 #2D155F
analogous
#5F5215 #475F15 #225F15
triadic
#475F15 #15475F #5F1547
tetradic
#475F15 #155F52 #2D155F #5F1522
square
#475F15 #155F52 #2D155F #5F1522
split-complementary
#475F15 #15225F #52155F
monochromatic
#131906 #222D0A #475F15 #6C9120 #92C32B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475F15#FFFFFF#000000##FFFFFF
##475F151.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)
#645807
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#4A5A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #475f15;
/* rgb */ color: rgb(71, 95, 21);
/* oklch */ color: oklch(45.0% 0.102 126.1);
Tailwind
colors: {
  custom: {
    50: '#7d8c58',
    500: '#475f15',
    950: '#000000',
  },
}
SCSS
$custom: #475f15;
$custom-light: #7d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#475f15",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 79.459,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.10237,
    "h": 126.1
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#475F15
secondary
#583A96
accent
#41E777
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #475F15

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

Preview Lab → · Contrast checker → · Palette generator →

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