#488226#488226

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

Color values

HEX#488226
RGBrgb(72, 130, 38)
HSLhsl(98, 55%, 33%)
HSVhsv(98, 71%, 51%)
CMYKcmyk(44.6%, 0%, 70.8%, 49%)
CIE-LABlab(48.86, -35.88, 42.03)
CIE-LCHlch(48.86, 55.27, 130.48°)
OKLaboklab(54.71% -0.0997 0.0958)
OKLCHoklch(54.71% 0.138 136.1)
XYZxyz(11.0047, 17.4823, 4.6279)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488226 #602682
analogous
#768226 #488226 #268232
triadic
#488226 #264882 #822648
tetradic
#488226 #267682 #602682 #823226
square
#488226 #267682 #602682 #823226
split-complementary
#488226 #322682 #822676
monochromatic
#14230A #2E5318 #488226 #62B134 #82CD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488226#FFFFFF#000000##FFFFFF
##4882261.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)
#877718
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#467D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488226;
/* rgb */ color: rgb(72, 130, 38);
/* oklch */ color: oklch(54.7% 0.138 136.1);
Tailwind
colors: {
  custom: {
    50: '#80a766',
    500: '#488226',
    950: '#000000',
  },
}
SCSS
$custom: #488226;
$custom-light: #80a766;
$custom-dark: #000000;
JSON
{
  "hex": "#488226",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 97.826,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.13823,
    "h": 136.1
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#488226
secondary
#8E52B2
accent
#4ADEA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488226

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

Preview Lab → · Contrast checker → · Palette generator →

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