#488F22#488F22

#488F22 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.158 H 137.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#488F22
RGBrgb(72, 143, 34)
HSLhsl(99, 62%, 35%)
HSVhsv(99, 76%, 56%)
CMYKcmyk(49.7%, 0%, 76.2%, 43.9%)
CIE-LABlab(53.10, -41.67, 47.90)
CIE-LCHlch(53.10, 63.49, 131.02°)
OKLaboklab(58.18% -0.1156 0.1075)
OKLCHoklch(58.18% 0.158 137.1)
XYZxyz(12.7833, 21.1373, 4.9194)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F22 #69228F
analogous
#7E8F22 #488F22 #228F33
triadic
#488F22 #22488F #8F2248
tetradic
#488F22 #227E8F #69228F #8F3322
square
#488F22 #227E8F #69228F #8F3322
split-complementary
#488F22 #33228F #8F227E
monochromatic
#162C0A #2F5E16 #488F22 #61C02E #82D755

Accessibility & contrast

On white

4.02
#488F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#488F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F22#FFFFFF#000000##000000
##488F221.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820B
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#448A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f22;
/* rgb */ color: rgb(72, 143, 34);
/* oklch */ color: oklch(58.2% 0.158 137.1);
Tailwind
colors: {
  custom: {
    50: '#82b065',
    500: '#488f22',
    950: '#000000',
  },
}
SCSS
$custom: #488f22;
$custom-light: #82b065;
$custom-dark: #000000;
JSON
{
  "hex": "#488f22",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 99.083,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.15784,
    "h": 137.1
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#488F22
secondary
#9652BA
accent
#43E5AC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F22

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

Preview Lab → · Contrast checker → · Palette generator →

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