#488B22#488B22

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

Color values

HEX#488B22
RGBrgb(72, 139, 34)
HSLhsl(98, 61%, 34%)
HSVhsv(98, 76%, 55%)
CMYKcmyk(48.2%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.79, -40.02, 46.61)
CIE-LCHlch(51.79, 61.43, 130.65°)
OKLaboklab(57.11% -0.1112 0.1048)
OKLCHoklch(57.11% 0.153 136.7)
XYZxyz(12.1935, 19.9576, 4.7228)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B22 #65228B
analogous
#7D8B22 #488B22 #228B31
triadic
#488B22 #22488B #8B2248
tetradic
#488B22 #227D8B #65228B #8B3122
square
#488B22 #227D8B #65228B #8B3122
split-complementary
#488B22 #31228B #8B227D
monochromatic
#15290A #2F5A16 #488B22 #61BC2E #82D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488B22#FFFFFF#000000##000000
##488B221.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)
#907F0D
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b22;
/* rgb */ color: rgb(72, 139, 34);
/* oklch */ color: oklch(57.1% 0.153 136.7);
Tailwind
colors: {
  custom: {
    50: '#82ad65',
    500: '#488b22',
    950: '#000000',
  },
}
SCSS
$custom: #488b22;
$custom-light: #82ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#488b22",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 98.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.15275,
    "h": 136.7
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#488B22
secondary
#9350B8
accent
#44E4AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488B22

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

Preview Lab → · Contrast checker → · Palette generator →

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