#488F21#488F21

#488F21 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.158 H 137.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#488F21
RGBrgb(72, 143, 33)
HSLhsl(99, 63%, 35%)
HSVhsv(99, 77%, 56%)
CMYKcmyk(49.7%, 0%, 76.9%, 43.9%)
CIE-LABlab(53.09, -41.73, 48.26)
CIE-LCHlch(53.09, 63.80, 130.85°)
OKLaboklab(58.17% -0.1158 0.1081)
OKLCHoklch(58.17% 0.158 137)
XYZxyz(12.7691, 21.1316, 4.8445)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F21 #68218F
analogous
#7F8F21 #488F21 #218F31
triadic
#488F21 #21488F #8F2148
tetradic
#488F21 #217F8F #68218F #8F3121
square
#488F21 #217F8F #68218F #8F3121
split-complementary
#488F21 #31218F #8F217F
monochromatic
#162C0A #2F5D16 #488F21 #61C12C #82D753

Accessibility & contrast

On white

4.02
#488F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#488F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F21
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F21#FFFFFF#000000##000000
##488F211.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f21;
/* rgb */ color: rgb(72, 143, 33);
/* oklch */ color: oklch(58.2% 0.158 137.0);
Tailwind
colors: {
  custom: {
    50: '#82b065',
    500: '#488f21',
    950: '#000000',
  },
}
SCSS
$custom: #488f21;
$custom-light: #82b065;
$custom-dark: #000000;
JSON
{
  "hex": "#488f21",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 98.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.15842,
    "h": 137
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#488F21
secondary
#9551BB
accent
#42E6AC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F21

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

Preview Lab → · Contrast checker → · Palette generator →

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