#476920#476920

#476920 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.108 H 130.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#476920
RGBrgb(71, 105, 32)
HSLhsl(88, 53%, 27%)
HSVhsv(88, 70%, 41%)
CMYKcmyk(32.4%, 0%, 69.5%, 58.8%)
CIE-LABlab(40.49, -25.17, 35.81)
CIE-LCHlch(40.49, 43.77, 125.10°)
OKLaboklab(47.84% -0.0709 0.0819)
OKLCHoklch(47.84% 0.108 130.9)
XYZxyz(7.9107, 11.5468, 3.1782)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476920 #422069
analogous
#696720 #476920 #236920
triadic
#476920 #204769 #692047
tetradic
#476920 #206967 #422069 #692023
square
#476920 #206967 #422069 #692023
split-complementary
#476920 #202369 #672069
monochromatic
#101707 #273A12 #476920 #67982E #86C43F

Accessibility & contrast

On white

6.35
#476920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#476920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476920
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476920#FFFFFF#000000##FFFFFF
##4769201.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#48645A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476920;
/* rgb */ color: rgb(71, 105, 32);
/* oklch */ color: oklch(47.8% 0.108 130.9);
Tailwind
colors: {
  custom: {
    50: '#7d9460',
    500: '#476920',
    950: '#000000',
  },
}
SCSS
$custom: #476920;
$custom-light: #7d9460;
$custom-dark: #000000;
JSON
{
  "hex": "#476920",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 87.945,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.10832,
    "h": 130.9
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#476920
secondary
#6F489D
accent
#4BDD8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476920

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

Preview Lab → · Contrast checker → · Palette generator →

#476920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva