#488C23#488C23

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

Color values

HEX#488C23
RGBrgb(72, 140, 35)
HSLhsl(99, 60%, 34%)
HSVhsv(99, 75%, 55%)
CMYKcmyk(48.6%, 0%, 75%, 45.1%)
CIE-LABlab(52.12, -40.36, 46.57)
CIE-LCHlch(52.12, 61.63, 130.92°)
OKLaboklab(57.38% -0.112 0.1048)
OKLCHoklch(57.38% 0.153 136.9)
XYZxyz(12.3536, 20.2544, 4.8483)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C23 #67238C
analogous
#7D8C23 #488C23 #238C33
triadic
#488C23 #23488C #8C2348
tetradic
#488C23 #237D8C #67238C #8C3323
square
#488C23 #237D8C #67238C #8C3323
split-complementary
#488C23 #33238C #8C237D
monochromatic
#162A0B #2F5B17 #488C23 #61BD2F #82D455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C23#FFFFFF#000000##000000
##488C231.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)
#91800F
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c23;
/* rgb */ color: rgb(72, 140, 35);
/* oklch */ color: oklch(57.4% 0.153 136.9);
Tailwind
colors: {
  custom: {
    50: '#82ae65',
    500: '#488c23',
    950: '#000000',
  },
}
SCSS
$custom: #488c23;
$custom-light: #82ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#488c23",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 98.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.15342,
    "h": 136.9
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#488C23
secondary
#9452B8
accent
#45E3AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C23

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

Preview Lab → · Contrast checker → · Palette generator →

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