#476F29#476F29

#476F29 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.109 H 133.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#476F29
RGBrgb(71, 111, 41)
HSLhsl(94, 46%, 30%)
HSVhsv(94, 63%, 44%)
CMYKcmyk(36%, 0%, 63.1%, 56.5%)
CIE-LABlab(42.56, -27.24, 33.81)
CIE-LCHlch(42.56, 43.42, 128.86°)
OKLaboklab(49.56% -0.0758 0.0788)
OKLCHoklch(49.56% 0.109 133.9)
XYZxyz(8.6830, 12.8682, 4.1237)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F29 #51296F
analogous
#6A6F29 #476F29 #296F2E
triadic
#476F29 #29476F #6F2947
tetradic
#476F29 #296A6F #51296F #6F2E29
square
#476F29 #296A6F #51296F #6F2E29
split-complementary
#476F29 #2E296F #6F296A
monochromatic
#0E1608 #2A4218 #476F29 #649C3A #81BF53

Accessibility & contrast

On white

5.88
#476F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#476F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F29
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F29#FFFFFF#000000##FFFFFF
##476F291.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736721
Deuteranopia (green-blind)
#6E632E
Tritanopia (blue-blind)
#476B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f29;
/* rgb */ color: rgb(71, 111, 41);
/* oklch */ color: oklch(49.6% 0.109 133.9);
Tailwind
colors: {
  custom: {
    50: '#7d9866',
    500: '#476f29',
    950: '#000000',
  },
}
SCSS
$custom: #476f29;
$custom-light: #7d9866;
$custom-dark: #000000;
JSON
{
  "hex": "#476f29",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 94.286,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.10932,
    "h": 133.9
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#476F29
secondary
#8053A1
accent
#52D69D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #476F29

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

Preview Lab → · Contrast checker → · Palette generator →

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