#488D23#488D23

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

Color values

HEX#488D23
RGBrgb(72, 141, 35)
HSLhsl(99, 60%, 35%)
HSVhsv(99, 75%, 55%)
CMYKcmyk(48.9%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.45, -40.78, 46.89)
CIE-LCHlch(52.45, 62.14, 131.01°)
OKLaboklab(57.65% -0.1131 0.1055)
OKLCHoklch(57.65% 0.155 137)
XYZxyz(12.5004, 20.5480, 4.8972)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D23 #68238D
analogous
#7D8D23 #488D23 #238D33
triadic
#488D23 #23488D #8D2348
tetradic
#488D23 #237D8D #68238D #8D3323
square
#488D23 #237D8D #68238D #8D3323
split-complementary
#488D23 #33238D #8D237D
monochromatic
#162B0B #2F5C17 #488D23 #61BE2F #82D555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D23#FFFFFF#000000##000000
##488D231.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)
#92810F
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#448879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d23;
/* rgb */ color: rgb(72, 141, 35);
/* oklch */ color: oklch(57.7% 0.155 137.0);
Tailwind
colors: {
  custom: {
    50: '#82af65',
    500: '#488d23',
    950: '#000000',
  },
}
SCSS
$custom: #488d23;
$custom-light: #82af65;
$custom-dark: #000000;
JSON
{
  "hex": "#488d23",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 99.057,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.1547,
    "h": 137
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#488D23
secondary
#9553B9
accent
#44E3AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D23

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

Preview Lab → · Contrast checker → · Palette generator →

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