#488C22#488C22

#488C22 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.154 H 136.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#488C22
RGBrgb(72, 140, 34)
HSLhsl(98, 61%, 34%)
HSVhsv(98, 76%, 55%)
CMYKcmyk(48.6%, 0%, 75.7%, 45.1%)
CIE-LABlab(52.12, -40.44, 46.93)
CIE-LCHlch(52.12, 61.95, 130.75°)
OKLaboklab(57.37% -0.1123 0.1054)
OKLCHoklch(57.37% 0.154 136.8)
XYZxyz(12.3389, 20.2486, 4.7712)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C22 #66228C
analogous
#7D8C22 #488C22 #228C31
triadic
#488C22 #22488C #8C2248
tetradic
#488C22 #227D8C #66228C #8C3122
square
#488C22 #227D8C #66228C #8C3122
split-complementary
#488C22 #31228C #8C227D
monochromatic
#152A0A #2F5B16 #488C22 #61BD2E #82D553

Accessibility & contrast

On white

4.16
#488C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#488C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C22#FFFFFF#000000##000000
##488C221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c22;
/* rgb */ color: rgb(72, 140, 34);
/* oklch */ color: oklch(57.4% 0.154 136.8);
Tailwind
colors: {
  custom: {
    50: '#82ae65',
    500: '#488c22',
    950: '#000000',
  },
}
SCSS
$custom: #488c22;
$custom-light: #82ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#488c22",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 98.491,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.15403,
    "h": 136.8
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

primary
#488C22
secondary
#9451B9
accent
#44E4AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C22

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

Preview Lab → · Contrast checker → · Palette generator →

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