#488E21#488E21

#488E21 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.157 H 136.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#488E21
RGBrgb(72, 142, 33)
HSLhsl(99, 62%, 34%)
HSVhsv(99, 77%, 56%)
CMYKcmyk(49.3%, 0%, 76.8%, 44.3%)
CIE-LABlab(52.77, -41.33, 47.94)
CIE-LCHlch(52.77, 63.29, 130.77°)
OKLaboklab(57.9% -0.1147 0.1074)
OKLCHoklch(57.9% 0.157 136.9)
XYZxyz(12.6196, 20.8327, 4.7947)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E21 #67218E
analogous
#7F8E21 #488E21 #218E31
triadic
#488E21 #21488E #8E2148
tetradic
#488E21 #217F8E #67218E #8E3121
square
#488E21 #217F8E #67218E #8E3121
split-complementary
#488E21 #31218E #8E217F
monochromatic
#162B0A #2F5C15 #488E21 #61C02D #82D752

Accessibility & contrast

On white

4.06
#488E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#488E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E21
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E21#FFFFFF#000000##000000
##488E211.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938209
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e21;
/* rgb */ color: rgb(72, 142, 33);
/* oklch */ color: oklch(57.9% 0.157 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b065',
    500: '#488e21',
    950: '#000000',
  },
}
SCSS
$custom: #488e21;
$custom-light: #82b065;
$custom-dark: #000000;
JSON
{
  "hex": "#488e21",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 98.532,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.15716,
    "h": 136.9
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#488E21
secondary
#9450BA
accent
#42E5AB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E21

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

Preview Lab → · Contrast checker → · Palette generator →

#488E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva