#478C23#478C23

#478C23 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.154 H 137.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#478C23
RGBrgb(71, 140, 35)
HSLhsl(99, 60%, 34%)
HSVhsv(99, 75%, 55%)
CMYKcmyk(49.3%, 0%, 75%, 45.1%)
CIE-LABlab(52.08, -40.69, 46.51)
CIE-LCHlch(52.08, 61.79, 131.18°)
OKLaboklab(57.34% -0.1128 0.1047)
OKLCHoklch(57.34% 0.154 137.1)
XYZxyz(12.2796, 20.2163, 4.8449)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C23 #68238C
analogous
#7C8C23 #478C23 #238C34
triadic
#478C23 #23478C #8C2347
tetradic
#478C23 #237C8C #68238C #8C3423
square
#478C23 #237C8C #68238C #8C3423
split-complementary
#478C23 #34238C #8C237C
monochromatic
#152A0B #2E5B17 #478C23 #60BD2F #81D455

Accessibility & contrast

On white

4.16
#478C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#478C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C23#FFFFFF#000000##000000
##478C231.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#438778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c23;
/* rgb */ color: rgb(71, 140, 35);
/* oklch */ color: oklch(57.3% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#81ae65',
    500: '#478c23',
    950: '#000000',
  },
}
SCSS
$custom: #478c23;
$custom-light: #81ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#478c23",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 99.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57335,
    "c": 0.15393,
    "h": 137.1
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#478C23
secondary
#9552B8
accent
#45E3AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C23

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

Preview Lab → · Contrast checker → · Palette generator →

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