#488C25#488C25

#488C25 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.4% C 0.152 H 137.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#488C25
RGBrgb(72, 140, 37)
HSLhsl(100, 58%, 35%)
HSVhsv(100, 74%, 55%)
CMYKcmyk(48.6%, 0%, 73.6%, 45.1%)
CIE-LABlab(52.14, -40.21, 45.81)
CIE-LCHlch(52.14, 60.96, 131.28°)
OKLaboklab(57.4% -0.1115 0.1036)
OKLCHoklch(57.4% 0.152 137.1)
XYZxyz(12.3841, 20.2666, 5.0092)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C25 #69258C
analogous
#7B8C25 #488C25 #258C36
triadic
#488C25 #25488C #8C2548
tetradic
#488C25 #257B8C #69258C #8C3625
square
#488C25 #257B8C #69258C #8C3625
split-complementary
#488C25 #36258C #8C257B
monochromatic
#162B0B #2F5C18 #488C25 #61BC32 #82D358

Accessibility & contrast

On white

4.16
#488C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#488C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C25
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C25#FFFFFF#000000##000000
##488C251.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c25;
/* rgb */ color: rgb(72, 140, 37);
/* oklch */ color: oklch(57.4% 0.152 137.1);
Tailwind
colors: {
  custom: {
    50: '#82ae66',
    500: '#488c25',
    950: '#000000',
  },
}
SCSS
$custom: #488c25;
$custom-light: #82ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#488c25",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 99.612,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.15215,
    "h": 137.1
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#488C25
secondary
#9655B8
accent
#46E1AD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C25

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

Preview Lab → · Contrast checker → · Palette generator →

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