#488225#488225

#488225 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.139 H 136.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#488225
RGBrgb(72, 130, 37)
HSLhsl(97, 56%, 33%)
HSVhsv(97, 72%, 51%)
CMYKcmyk(44.6%, 0%, 71.5%, 49%)
CIE-LABlab(48.85, -35.96, 42.44)
CIE-LCHlch(48.85, 55.63, 130.28°)
OKLaboklab(54.7% -0.1 0.0965)
OKLCHoklch(54.7% 0.139 136)
XYZxyz(10.9888, 17.4759, 4.5441)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488225 #5F2582
analogous
#778225 #488225 #258230
triadic
#488225 #254882 #822548
tetradic
#488225 #257782 #5F2582 #823025
square
#488225 #257782 #5F2582 #823025
split-complementary
#488225 #302582 #822577
monochromatic
#13230A #2E5217 #488225 #62B233 #82CE53

Accessibility & contrast

On white

4.67
#488225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#488225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #488225
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488225#FFFFFF#000000##FFFFFF
##4882251.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877717
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#467D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488225;
/* rgb */ color: rgb(72, 130, 37);
/* oklch */ color: oklch(54.7% 0.139 136.0);
Tailwind
colors: {
  custom: {
    50: '#80a765',
    500: '#488225',
    950: '#000000',
  },
}
SCSS
$custom: #488225;
$custom-light: #80a765;
$custom-dark: #000000;
JSON
{
  "hex": "#488225",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 97.419,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.13895,
    "h": 136
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#488225
secondary
#8E50B2
accent
#49DFA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488225

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

Preview Lab → · Contrast checker → · Palette generator →

#488225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva