#476F24#476F24

#476F24 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.114 H 133.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#476F24
RGBrgb(71, 111, 36)
HSLhsl(92, 51%, 29%)
HSVhsv(92, 68%, 44%)
CMYKcmyk(36%, 0%, 67.6%, 56.5%)
CIE-LABlab(42.51, -27.74, 36.15)
CIE-LCHlch(42.51, 45.56, 127.50°)
OKLaboklab(49.5% -0.0776 0.0831)
OKLCHoklch(49.5% 0.114 133)
XYZxyz(8.6013, 12.8355, 3.6930)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F24 #4C246F
analogous
#6D6F24 #476F24 #246F27
triadic
#476F24 #24476F #6F2447
tetradic
#476F24 #246D6F #4C246F #6F2724
square
#476F24 #246D6F #4C246F #6F2724
split-complementary
#476F24 #27246F #6F246D
monochromatic
#0F1707 #294115 #476F24 #659D33 #83C449

Accessibility & contrast

On white

5.89
#476F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476F24
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F24#FFFFFF#000000##FFFFFF
##476F241.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661B
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#476B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f24;
/* rgb */ color: rgb(71, 111, 36);
/* oklch */ color: oklch(49.5% 0.114 133.0);
Tailwind
colors: {
  custom: {
    50: '#7d9863',
    500: '#476f24',
    950: '#000000',
  },
}
SCSS
$custom: #476f24;
$custom-light: #7d9863;
$custom-dark: #000000;
JSON
{
  "hex": "#476f24",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 92,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.11371,
    "h": 133
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#476F24
secondary
#7A4DA2
accent
#4DDA99
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #476F24

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

Preview Lab → · Contrast checker → · Palette generator →

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