#478620#478620

#478620 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.148 H 136.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#478620
RGBrgb(71, 134, 32)
HSLhsl(97, 61%, 33%)
HSVhsv(97, 76%, 53%)
CMYKcmyk(47%, 0%, 76.1%, 47.5%)
CIE-LABlab(50.09, -38.40, 45.65)
CIE-LCHlch(50.09, 59.65, 130.07°)
OKLaboklab(55.69% -0.1069 0.1025)
OKLCHoklch(55.69% 0.148 136.2)
XYZxyz(11.3840, 18.4934, 4.3359)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478620 #5F2086
analogous
#7A8620 #478620 #20862C
triadic
#478620 #204786 #862047
tetradic
#478620 #207A86 #5F2086 #862C20
square
#478620 #207A86 #5F2086 #862C20
split-complementary
#478620 #2C2086 #86207A
monochromatic
#132308 #2D5514 #478620 #61B72C #80D44C

Accessibility & contrast

On white

4.47
#478620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#478620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478620
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478620#FFFFFF#000000##000000
##4786201.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0B
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#448172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #478620;
/* rgb */ color: rgb(71, 134, 32);
/* oklch */ color: oklch(55.7% 0.148 136.2);
Tailwind
colors: {
  custom: {
    50: '#80aa63',
    500: '#478620',
    950: '#000000',
  },
}
SCSS
$custom: #478620;
$custom-light: #80aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#478620",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 97.059,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.14807,
    "h": 136.2
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#478620
secondary
#8E4BB7
accent
#43E5A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478620

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

Preview Lab → · Contrast checker → · Palette generator →

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