#488E22#488E22

#488E22 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.157 H 137.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#488E22
RGBrgb(72, 142, 34)
HSLhsl(99, 61%, 35%)
HSVhsv(99, 76%, 56%)
CMYKcmyk(49.3%, 0%, 76.1%, 44.3%)
CIE-LABlab(52.77, -41.26, 47.58)
CIE-LCHlch(52.77, 62.98, 130.93°)
OKLaboklab(57.91% -0.1145 0.1068)
OKLCHoklch(57.91% 0.157 137)
XYZxyz(12.6338, 20.8384, 4.8695)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E22 #68228E
analogous
#7E8E22 #488E22 #228E32
triadic
#488E22 #22488E #8E2248
tetradic
#488E22 #227E8E #68228E #8E3222
square
#488E22 #227E8E #68228E #8E3222
split-complementary
#488E22 #32228E #8E227E
monochromatic
#162B0A #2F5D16 #488E22 #61BF2E #82D654

Accessibility & contrast

On white

4.06
#488E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#488E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E22
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E22#FFFFFF#000000##000000
##488E221.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#448979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e22;
/* rgb */ color: rgb(72, 142, 34);
/* oklch */ color: oklch(57.9% 0.157 137.0);
Tailwind
colors: {
  custom: {
    50: '#82b065',
    500: '#488e22',
    950: '#000000',
  },
}
SCSS
$custom: #488e22;
$custom-light: #82b065;
$custom-dark: #000000;
JSON
{
  "hex": "#488e22",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 98.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.15658,
    "h": 137
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#488E22
secondary
#9552BA
accent
#43E4AC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488E22

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

Preview Lab → · Contrast checker → · Palette generator →

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