#488C21#488C21

#488C21 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.155 H 136.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#488C21
RGBrgb(72, 140, 33)
HSLhsl(98, 62%, 34%)
HSVhsv(98, 76%, 55%)
CMYKcmyk(48.6%, 0%, 76.4%, 45.1%)
CIE-LABlab(52.11, -40.51, 47.29)
CIE-LCHlch(52.11, 62.27, 130.58°)
OKLaboklab(57.37% -0.1125 0.1061)
OKLCHoklch(57.37% 0.155 136.7)
XYZxyz(12.3247, 20.2429, 4.6964)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C21 #65218C
analogous
#7E8C21 #488C21 #218C30
triadic
#488C21 #21488C #8C2148
tetradic
#488C21 #217E8C #65218C #8C3021
square
#488C21 #217E8C #65218C #8C3021
split-complementary
#488C21 #30218C #8C217E
monochromatic
#15290A #2F5A15 #488C21 #61BE2D #82D651

Accessibility & contrast

On white

4.16
#488C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#488C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C21
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C21#FFFFFF#000000##000000
##488C211.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c21;
/* rgb */ color: rgb(72, 140, 33);
/* oklch */ color: oklch(57.4% 0.155 136.7);
Tailwind
colors: {
  custom: {
    50: '#82ae64',
    500: '#488c21',
    950: '#000000',
  },
}
SCSS
$custom: #488c21;
$custom-light: #82ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#488c21",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 98.131,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.15463,
    "h": 136.7
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#488C21
secondary
#934FB9
accent
#43E5AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C21

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

Preview Lab → · Contrast checker → · Palette generator →

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