#488D21#488D21

#488D21 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.156 H 136.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D21
RGBrgb(72, 141, 33)
HSLhsl(98, 62%, 34%)
HSVhsv(98, 77%, 55%)
CMYKcmyk(48.9%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.44, -40.92, 47.61)
CIE-LCHlch(52.44, 62.78, 130.67°)
OKLaboklab(57.64% -0.1136 0.1067)
OKLCHoklch(57.64% 0.156 136.8)
XYZxyz(12.4715, 20.5364, 4.7453)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D21 #66218D
analogous
#7E8D21 #488D21 #218D30
triadic
#488D21 #21488D #8D2148
tetradic
#488D21 #217E8D #66218D #8D3021
square
#488D21 #217E8D #66218D #8D3021
split-complementary
#488D21 #30218D #8D217E
monochromatic
#152A0A #2F5B15 #488D21 #61BF2D #82D652

Accessibility & contrast

On white

4.11
#488D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#488D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D21
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D21#FFFFFF#000000##000000
##488D211.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d21;
/* rgb */ color: rgb(72, 141, 33);
/* oklch */ color: oklch(57.6% 0.156 136.8);
Tailwind
colors: {
  custom: {
    50: '#82af64',
    500: '#488d21',
    950: '#000000',
  },
}
SCSS
$custom: #488d21;
$custom-light: #82af64;
$custom-dark: #000000;
JSON
{
  "hex": "#488d21",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 98.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.1559,
    "h": 136.8
  },
  "luminance": 0.20537
}

Semantic roles & 50–950 ramp

primary
#488D21
secondary
#9450BA
accent
#43E5AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D21

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

Preview Lab → · Contrast checker → · Palette generator →

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