#476918#476918

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

Color values

HEX#476918
RGBrgb(71, 105, 24)
HSLhsl(85, 63%, 25%)
HSVhsv(85, 77%, 41%)
CMYKcmyk(32.4%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.42, -25.79, 39.15)
CIE-LCHlch(40.42, 46.88, 123.37°)
OKLaboklab(47.77% -0.0733 0.0876)
OKLCHoklch(47.77% 0.114 129.9)
XYZxyz(7.8149, 11.5085, 2.6736)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476918 #3A1869
analogous
#696218 #476918 #1E6918
triadic
#476918 #184769 #691847
tetradic
#476918 #186962 #3A1869 #69181E
square
#476918 #186962 #3A1869 #69181E
split-complementary
#476918 #181E69 #621869
monochromatic
#111906 #25370D #476918 #699B23 #8ACD2F

Accessibility & contrast

On white

6.36
#476918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#476918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476918
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476918#FFFFFF#000000##FFFFFF
##4769181.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#496459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #476918;
/* rgb */ color: rgb(71, 105, 24);
/* oklch */ color: oklch(47.8% 0.114 129.9);
Tailwind
colors: {
  custom: {
    50: '#7d945b',
    500: '#476918',
    950: '#000000',
  },
}
SCSS
$custom: #476918;
$custom-light: #7d945b;
$custom-dark: #000000;
JSON
{
  "hex": "#476918",
  "rgb": {
    "r": 71,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 85.185,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.11425,
    "h": 129.9
  },
  "luminance": 0.11509
}

Semantic roles & 50–950 ramp

primary
#476918
secondary
#673E9F
accent
#42E687
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476918

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

Preview Lab → · Contrast checker → · Palette generator →

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