#488B25#488B25

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

Color values

HEX#488B25
RGBrgb(72, 139, 37)
HSLhsl(99, 58%, 35%)
HSVhsv(99, 73%, 55%)
CMYKcmyk(48.2%, 0%, 73.4%, 45.5%)
CIE-LABlab(51.81, -39.80, 45.48)
CIE-LCHlch(51.81, 60.44, 131.19°)
OKLaboklab(57.13% -0.1104 0.1029)
OKLCHoklch(57.13% 0.151 137)
XYZxyz(12.2387, 19.9757, 4.9607)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B25 #68258B
analogous
#7B8B25 #488B25 #258B35
triadic
#488B25 #25488B #8B2548
tetradic
#488B25 #257B8B #68258B #8B3525
square
#488B25 #257B8B #68258B #8B3525
split-complementary
#488B25 #35258B #8B257B
monochromatic
#162A0B #2F5B18 #488B25 #61BB32 #82D358

Accessibility & contrast

On white

4.20
#488B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#488B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B25
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B25#FFFFFF#000000##000000
##488B251.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F14
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b25;
/* rgb */ color: rgb(72, 139, 37);
/* oklch */ color: oklch(57.1% 0.151 137.0);
Tailwind
colors: {
  custom: {
    50: '#81ad66',
    500: '#488b25',
    950: '#000000',
  },
}
SCSS
$custom: #488b25;
$custom-light: #81ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#488b25",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 99.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.15086,
    "h": 137
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#488B25
secondary
#9555B7
accent
#47E1AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B25

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

Preview Lab → · Contrast checker → · Palette generator →

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