#478722#478722

#478722 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.148 H 136.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#478722
RGBrgb(71, 135, 34)
HSLhsl(98, 60%, 33%)
HSVhsv(98, 75%, 53%)
CMYKcmyk(47.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.43, -38.68, 45.24)
CIE-LCHlch(50.43, 59.52, 130.53°)
OKLaboklab(55.98% -0.1075 0.1019)
OKLCHoklch(55.98% 0.148 136.5)
XYZxyz(11.5509, 18.7823, 4.5298)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478722 #622287
analogous
#798722 #478722 #228730
triadic
#478722 #224787 #872247
tetradic
#478722 #227987 #622287 #873022
square
#478722 #227987 #622287 #873022
split-complementary
#478722 #302287 #872279
monochromatic
#142509 #2D5616 #478722 #61B82E #80D350

Accessibility & contrast

On white

4.41
#478722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#478722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478722
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478722#FFFFFF#000000##000000
##4787221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0F
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #478722;
/* rgb */ color: rgb(71, 135, 34);
/* oklch */ color: oklch(56.0% 0.148 136.5);
Tailwind
colors: {
  custom: {
    50: '#80aa64',
    500: '#478722',
    950: '#000000',
  },
}
SCSS
$custom: #478722;
$custom-light: #80aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#478722",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 98.02,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.14811,
    "h": 136.5
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#478722
secondary
#904EB7
accent
#45E3A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478722

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

Preview Lab → · Contrast checker → · Palette generator →

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