#478E23#478E23

#478E23 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.156 H 137.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#478E23
RGBrgb(71, 142, 35)
HSLhsl(100, 60%, 35%)
HSVhsv(100, 75%, 56%)
CMYKcmyk(50%, 0%, 75.4%, 44.3%)
CIE-LABlab(52.74, -41.51, 47.16)
CIE-LCHlch(52.74, 62.83, 131.35°)
OKLaboklab(57.87% -0.115 0.1061)
OKLCHoklch(57.87% 0.156 137.3)
XYZxyz(12.5745, 20.8061, 4.9432)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E23 #6A238E
analogous
#7D8E23 #478E23 #238E35
triadic
#478E23 #23478E #8E2347
tetradic
#478E23 #237D8E #6A238E #8E3523
square
#478E23 #237D8E #6A238E #8E3523
split-complementary
#478E23 #35238E #8E237D
monochromatic
#162C0B #2E5D17 #478E23 #60BF2F #81D556

Accessibility & contrast

On white

4.07
#478E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#478E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E23#FFFFFF#000000##000000
##478E231.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#897C2E
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e23;
/* rgb */ color: rgb(71, 142, 35);
/* oklch */ color: oklch(57.9% 0.156 137.3);
Tailwind
colors: {
  custom: {
    50: '#81b066',
    500: '#478e23',
    950: '#000000',
  },
}
SCSS
$custom: #478e23;
$custom-light: #81b066;
$custom-dark: #000000;
JSON
{
  "hex": "#478e23",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 99.813,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.15648,
    "h": 137.3
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#478E23
secondary
#9753B9
accent
#44E4AE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E23

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

Preview Lab → · Contrast checker → · Palette generator →

#478E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva