#475F13#475F13

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

Color values

HEX#475F13
RGBrgb(71, 95, 19)
HSLhsl(79, 67%, 22%)
HSVhsv(79, 80%, 37%)
CMYKcmyk(25.3%, 0%, 80%, 62.7%)
CIE-LABlab(37.06, -21.06, 37.81)
CIE-LCHlch(37.06, 43.28, 119.12°)
OKLaboklab(45.03% -0.0609 0.0839)
OKLCHoklch(45.03% 0.104 126)
XYZxyz(6.8083, 9.5709, 2.1046)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F13 #2B135F
analogous
#5F5113 #475F13 #215F13
triadic
#475F13 #13475F #5F1347
tetradic
#475F13 #135F51 #2B135F #5F1321
square
#475F13 #135F51 #2B135F #5F1321
split-complementary
#475F13 #13215F #51135F
monochromatic
#131A05 #212C09 #475F13 #6D921D #93C527

Accessibility & contrast

On white

7.21
#475F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F13
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F13#FFFFFF#000000##FFFFFF
##475F131.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475f13;
/* rgb */ color: rgb(71, 95, 19);
/* oklch */ color: oklch(45.0% 0.104 126.0);
Tailwind
colors: {
  custom: {
    50: '#7d8c57',
    500: '#475f13',
    950: '#000000',
  },
}
SCSS
$custom: #475f13;
$custom-light: #7d8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#475f13",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 78.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.10369,
    "h": 126
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#475F13
secondary
#553797
accent
#3EEA74
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #475F13

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

Preview Lab → · Contrast checker → · Palette generator →

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