#488D25#488D25

#488D25 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.153 H 137.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#488D25
RGBrgb(72, 141, 37)
HSLhsl(100, 58%, 35%)
HSVhsv(100, 74%, 55%)
CMYKcmyk(48.9%, 0%, 73.8%, 44.7%)
CIE-LABlab(52.46, -40.63, 46.15)
CIE-LCHlch(52.46, 61.48, 131.36°)
OKLaboklab(57.67% -0.1126 0.1042)
OKLCHoklch(57.67% 0.153 137.2)
XYZxyz(12.5309, 20.5602, 5.0581)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D25 #6A258D
analogous
#7C8D25 #488D25 #258D36
triadic
#488D25 #25488D #8D2548
tetradic
#488D25 #257C8D #6A258D #8D3625
square
#488D25 #257C8D #6A258D #8D3625
split-complementary
#488D25 #36258D #8D257C
monochromatic
#162C0C #2F5D18 #488D25 #61BD32 #82D359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D25#FFFFFF#000000##000000
##488D251.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)
#928113
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#448879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d25;
/* rgb */ color: rgb(72, 141, 37);
/* oklch */ color: oklch(57.7% 0.153 137.2);
Tailwind
colors: {
  custom: {
    50: '#82af66',
    500: '#488d25',
    950: '#000000',
  },
}
SCSS
$custom: #488d25;
$custom-light: #82af66;
$custom-dark: #000000;
JSON
{
  "hex": "#488d25",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 99.808,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.15344,
    "h": 137.2
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#488D25
secondary
#9756B8
accent
#46E2AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D25

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

Preview Lab → · Contrast checker → · Palette generator →

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