#488B23#488B23

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

Color values

HEX#488B23
RGBrgb(72, 139, 35)
HSLhsl(99, 60%, 34%)
HSVhsv(99, 75%, 55%)
CMYKcmyk(48.2%, 0%, 74.8%, 45.5%)
CIE-LABlab(51.80, -39.95, 46.24)
CIE-LCHlch(51.80, 61.11, 130.83°)
OKLaboklab(57.11% -0.1109 0.1041)
OKLCHoklch(57.11% 0.152 136.8)
XYZxyz(12.2081, 19.9635, 4.7998)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B23 #66238B
analogous
#7C8B23 #488B23 #238B32
triadic
#488B23 #23488B #8B2348
tetradic
#488B23 #237C8B #66238B #8B3223
square
#488B23 #237C8B #66238B #8B3223
split-complementary
#488B23 #32238B #8B237C
monochromatic
#15290A #2F5A17 #488B23 #61BC2F #82D454

Accessibility & contrast

On white

4.21
#488B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#488B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B23#FFFFFF#000000##000000
##488B231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488b23;
/* rgb */ color: rgb(72, 139, 35);
/* oklch */ color: oklch(57.1% 0.152 136.8);
Tailwind
colors: {
  custom: {
    50: '#81ad65',
    500: '#488b23',
    950: '#000000',
  },
}
SCSS
$custom: #488b23;
$custom-light: #81ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#488b23",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 98.654,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.15213,
    "h": 136.8
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #488B23

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

Preview Lab → · Contrast checker → · Palette generator →

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