#488228#488228

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

Color values

HEX#488228
RGBrgb(72, 130, 40)
HSLhsl(99, 53%, 33%)
HSVhsv(99, 69%, 51%)
CMYKcmyk(44.6%, 0%, 69.2%, 49%)
CIE-LABlab(48.88, -35.71, 41.20)
CIE-LCHlch(48.88, 54.52, 130.92°)
OKLaboklab(54.73% -0.099 0.0943)
OKLCHoklch(54.73% 0.137 136.4)
XYZxyz(11.0378, 17.4955, 4.8024)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488228 #622882
analogous
#758228 #488228 #288235
triadic
#488228 #284882 #822848
tetradic
#488228 #287582 #622882 #823528
square
#488228 #287582 #622882 #823528
split-complementary
#488228 #352882 #822875
monochromatic
#14240B #2E531A #488228 #62B136 #82CC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488228#FFFFFF#000000##FFFFFF
##4882281.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)
#87771C
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#467D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488228;
/* rgb */ color: rgb(72, 130, 40);
/* oklch */ color: oklch(54.7% 0.137 136.4);
Tailwind
colors: {
  custom: {
    50: '#80a767',
    500: '#488228',
    950: '#000000',
  },
}
SCSS
$custom: #488228;
$custom-light: #80a767;
$custom-dark: #000000;
JSON
{
  "hex": "#488228",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 98.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.13675,
    "h": 136.4
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#488228
secondary
#9055B1
accent
#4BDCA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488228

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

Preview Lab → · Contrast checker → · Palette generator →

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