#478F23#478F23

#478F23 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.158 H 137.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#478F23
RGBrgb(71, 143, 35)
HSLhsl(100, 61%, 35%)
HSVhsv(100, 76%, 56%)
CMYKcmyk(50.3%, 0%, 75.5%, 43.9%)
CIE-LABlab(53.06, -41.91, 47.49)
CIE-LCHlch(53.06, 63.34, 131.43°)
OKLaboklab(58.14% -0.1161 0.1068)
OKLCHoklch(58.14% 0.158 137.4)
XYZxyz(12.7240, 21.1050, 4.9930)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F23 #6B238F
analogous
#7D8F23 #478F23 #238F35
triadic
#478F23 #23478F #8F2347
tetradic
#478F23 #237D8F #6B238F #8F3523
square
#478F23 #237D8F #6B238F #8F3523
split-complementary
#478F23 #35238F #8F237D
monochromatic
#162D0B #2F5E17 #478F23 #5FC02F #81D657

Accessibility & contrast

On white

4.02
#478F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#478F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F23#FFFFFF#000000##000000
##478F231.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#428A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f23;
/* rgb */ color: rgb(71, 143, 35);
/* oklch */ color: oklch(58.1% 0.158 137.4);
Tailwind
colors: {
  custom: {
    50: '#81b066',
    500: '#478f23',
    950: '#000000',
  },
}
SCSS
$custom: #478f23;
$custom-light: #81b066;
$custom-dark: #000000;
JSON
{
  "hex": "#478f23",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 100,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.15775,
    "h": 137.4
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#478F23
secondary
#9854BA
accent
#44E4AF
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478F23

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

Preview Lab → · Contrast checker → · Palette generator →

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