#488126#488126

#488126 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.137 H 136.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#488126
RGBrgb(72, 129, 38)
HSLhsl(98, 54%, 33%)
HSVhsv(98, 71%, 51%)
CMYKcmyk(44.2%, 0%, 70.5%, 49.4%)
CIE-LABlab(48.53, -35.44, 41.69)
CIE-LCHlch(48.53, 54.72, 130.37°)
OKLaboklab(54.44% -0.0985 0.0951)
OKLCHoklch(54.44% 0.137 136)
XYZxyz(10.8723, 17.2175, 4.5838)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488126 #5F2681
analogous
#768126 #488126 #268131
triadic
#488126 #264881 #812648
tetradic
#488126 #267681 #5F2681 #813126
square
#488126 #267681 #5F2681 #813126
split-complementary
#488126 #312681 #812676
monochromatic
#13220A #2E5218 #488126 #62B034 #82CD55

Accessibility & contrast

On white

4.73
#488126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#488126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488126
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488126#FFFFFF#000000##FFFFFF
##4881261.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#467C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488126;
/* rgb */ color: rgb(72, 129, 38);
/* oklch */ color: oklch(54.4% 0.137 136.0);
Tailwind
colors: {
  custom: {
    50: '#80a666',
    500: '#488126',
    950: '#000000',
  },
}
SCSS
$custom: #488126;
$custom-light: #80a666;
$custom-dark: #000000;
JSON
{
  "hex": "#488126",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 97.582,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.13688,
    "h": 136
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #488126

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

Preview Lab → · Contrast checker → · Palette generator →

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