#488B21#488B21

#488B21 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.1% C 0.153 H 136.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#488B21
RGBrgb(72, 139, 33)
HSLhsl(98, 62%, 34%)
HSVhsv(98, 76%, 55%)
CMYKcmyk(48.2%, 0%, 76.3%, 45.5%)
CIE-LABlab(51.78, -40.09, 46.97)
CIE-LCHlch(51.78, 61.75, 130.48°)
OKLaboklab(57.1% -0.1114 0.1054)
OKLCHoklch(57.1% 0.153 136.6)
XYZxyz(12.1793, 19.9520, 4.6479)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B21 #64218B
analogous
#7D8B21 #488B21 #218B2F
triadic
#488B21 #21488B #8B2148
tetradic
#488B21 #217D8B #64218B #8B2F21
square
#488B21 #217D8B #64218B #8B2F21
split-complementary
#488B21 #2F218B #8B217D
monochromatic
#15280A #2E5A15 #488B21 #62BC2D #82D651

Accessibility & contrast

On white

4.21
#488B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#488B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B21
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B21#FFFFFF#000000##000000
##488B211.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b21;
/* rgb */ color: rgb(72, 139, 33);
/* oklch */ color: oklch(57.1% 0.153 136.6);
Tailwind
colors: {
  custom: {
    50: '#82ad64',
    500: '#488b21',
    950: '#000000',
  },
}
SCSS
$custom: #488b21;
$custom-light: #82ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#488b21",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 97.925,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.15336,
    "h": 136.6
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#488B21
secondary
#924FB9
accent
#43E5A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B21

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

Preview Lab → · Contrast checker → · Palette generator →

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