#475F29#475F29

#475F29 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.3% C 0.085 H 129.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#475F29
RGBrgb(71, 95, 41)
HSLhsl(87, 40%, 27%)
HSVhsv(87, 57%, 37%)
CMYKcmyk(25.3%, 0%, 56.8%, 62.7%)
CIE-LABlab(37.27, -19.12, 27.69)
CIE-LCHlch(37.27, 33.65, 124.62°)
OKLaboklab(45.26% -0.0534 0.0656)
OKLCHoklch(45.26% 0.085 129.2)
XYZxyz(7.0909, 9.6840, 3.5930)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F29 #41295F
analogous
#5F5C29 #475F29 #2C5F29
triadic
#475F29 #29475F #5F2947
tetradic
#475F29 #295F5C #41295F #5F292C
square
#475F29 #295F5C #41295F #5F292C
split-complementary
#475F29 #292C5F #5C295F
monochromatic
#101509 #273417 #475F29 #678A3B #87B34F

Accessibility & contrast

On white

7.15
#475F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#475F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F29
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F29#FFFFFF#000000##FFFFFF
##475F291.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635924
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#495B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f29;
/* rgb */ color: rgb(71, 95, 41);
/* oklch */ color: oklch(45.3% 0.085 129.2);
Tailwind
colors: {
  custom: {
    50: '#7c8c64',
    500: '#475f29',
    950: '#000000',
  },
}
SCSS
$custom: #475f29;
$custom-light: #7c8c64;
$custom-dark: #000000;
JSON
{
  "hex": "#475f29",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 41
  },
  "hsl": {
    "h": 86.667,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45264,
    "c": 0.08459,
    "h": 129.2
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#475F29
secondary
#6E5292
accent
#58D08D
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #475F29

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

Preview Lab → · Contrast checker → · Palette generator →

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