#476D22#476D22

#476D22 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 48.9% C 0.112 H 132.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#476D22
RGBrgb(71, 109, 34)
HSLhsl(90, 52%, 28%)
HSVhsv(90, 69%, 43%)
CMYKcmyk(34.9%, 0%, 68.8%, 57.3%)
CIE-LABlab(41.83, -26.95, 36.33)
CIE-LCHlch(41.83, 45.24, 126.57°)
OKLaboklab(48.94% -0.0756 0.0832)
OKLCHoklch(48.94% 0.112 132.3)
XYZxyz(8.3558, 12.3921, 3.4647)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D22 #48226D
analogous
#6C6D22 #476D22 #226D22
triadic
#476D22 #22476D #6D2247
tetradic
#476D22 #226C6D #48226D #6D2222
square
#476D22 #226C6D #48226D #6D2222
split-complementary
#476D22 #22226D #6D226C
monochromatic
#0F1707 #293E13 #476D22 #659C31 #84C545

Accessibility & contrast

On white

6.04
#476D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#476D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D22
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D22#FFFFFF#000000##FFFFFF
##476D221.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#6C6228
Tritanopia (blue-blind)
#48685E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476d22;
/* rgb */ color: rgb(71, 109, 34);
/* oklch */ color: oklch(48.9% 0.112 132.3);
Tailwind
colors: {
  custom: {
    50: '#7d9761',
    500: '#476d22',
    950: '#000000',
  },
}
SCSS
$custom: #476d22;
$custom-light: #7d9761;
$custom-dark: #000000;
JSON
{
  "hex": "#476d22",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 90.4,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.11247,
    "h": 132.3
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#476D22
secondary
#764AA1
accent
#4CDC95
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476D22

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

Preview Lab → · Contrast checker → · Palette generator →

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