#477918#477918

#477918 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.136 H 133.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#477918
RGBrgb(71, 121, 24)
HSLhsl(91, 67%, 28%)
HSVhsv(91, 80%, 47%)
CMYKcmyk(41.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.74, -33.28, 44.29)
CIE-LCHlch(45.74, 55.40, 126.92°)
OKLaboklab(52.11% -0.0936 0.0984)
OKLCHoklch(52.11% 0.136 133.6)
XYZxyz(9.6006, 15.0798, 3.2688)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477918 #4A1879
analogous
#777918 #477918 #187919
triadic
#477918 #184779 #791847
tetradic
#477918 #187779 #4A1879 #791918
square
#477918 #187779 #4A1879 #791918
split-complementary
#477918 #191879 #791877
monochromatic
#0F1A05 #29460E #477918 #65AC22 #83D735

Accessibility & contrast

On white

5.23
#477918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#477918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477918
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477918#FFFFFF#000000##FFFFFF
##4779181.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F01
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#477467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #477918;
/* rgb */ color: rgb(71, 121, 24);
/* oklch */ color: oklch(52.1% 0.136 133.6);
Tailwind
colors: {
  custom: {
    50: '#7fa05d',
    500: '#477918',
    950: '#000000',
  },
}
SCSS
$custom: #477918;
$custom-light: #7fa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#477918",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 90.928,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.1358,
    "h": 133.6
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#477918
secondary
#783FAE
accent
#3EEA97
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477918

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

Preview Lab → · Contrast checker → · Palette generator →

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