#488A23#488A23

#488A23 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.8% C 0.151 H 136.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#488A23
RGBrgb(72, 138, 35)
HSLhsl(98, 60%, 34%)
HSVhsv(98, 75%, 54%)
CMYKcmyk(47.8%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.47, -39.53, 45.91)
CIE-LCHlch(51.47, 60.58, 130.73°)
OKLaboklab(56.84% -0.1098 0.1035)
OKLCHoklch(56.84% 0.151 136.7)
XYZxyz(12.0640, 19.6752, 4.7518)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A23 #65238A
analogous
#7C8A23 #488A23 #238A32
triadic
#488A23 #23488A #8A2348
tetradic
#488A23 #237C8A #65238A #8A3223
square
#488A23 #237C8A #65238A #8A3223
split-complementary
#488A23 #32238A #8A237C
monochromatic
#15280A #2F5917 #488A23 #61BB2F #82D454

Accessibility & contrast

On white

4.26
#488A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#488A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A23#FFFFFF#000000##000000
##488A231.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488a23;
/* rgb */ color: rgb(72, 138, 35);
/* oklch */ color: oklch(56.8% 0.151 136.7);
Tailwind
colors: {
  custom: {
    50: '#81ad65',
    500: '#488a23',
    950: '#000000',
  },
}
SCSS
$custom: #488a23;
$custom-light: #81ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#488a23",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 98.447,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.15084,
    "h": 136.7
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#488A23
secondary
#9351B7
accent
#45E3AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488A23

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

Preview Lab → · Contrast checker → · Palette generator →

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