#488A22#488A22

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

Color values

HEX#488A22
RGBrgb(72, 138, 34)
HSLhsl(98, 60%, 34%)
HSVhsv(98, 75%, 54%)
CMYKcmyk(47.8%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.46, -39.61, 46.28)
CIE-LCHlch(51.46, 60.91, 130.56°)
OKLaboklab(56.84% -0.11 0.1041)
OKLCHoklch(56.84% 0.151 136.6)
XYZxyz(12.0494, 19.6694, 4.6747)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A22 #64228A
analogous
#7C8A22 #488A22 #228A30
triadic
#488A22 #22488A #8A2248
tetradic
#488A22 #227C8A #64228A #8A3022
square
#488A22 #227C8A #64228A #8A3022
split-complementary
#488A22 #30228A #8A227C
monochromatic
#15280A #2E5916 #488A22 #62BB2E #82D452

Accessibility & contrast

On white

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

On black

4.93
#488A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A22
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A22#FFFFFF#000000##000000
##488A221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488a22;
/* rgb */ color: rgb(72, 138, 34);
/* oklch */ color: oklch(56.8% 0.151 136.6);
Tailwind
colors: {
  custom: {
    50: '#81ad65',
    500: '#488a22',
    950: '#000000',
  },
}
SCSS
$custom: #488a22;
$custom-light: #81ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#488a22",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 98.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.15146,
    "h": 136.6
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#488A22
secondary
#9250B8
accent
#44E4A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488A22

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

Preview Lab → · Contrast checker → · Palette generator →

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