#488127#488127

#488127 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.136 H 136.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#488127
RGBrgb(72, 129, 39)
HSLhsl(98, 54%, 33%)
HSVhsv(98, 70%, 51%)
CMYKcmyk(44.2%, 0%, 69.8%, 49.4%)
CIE-LABlab(48.54, -35.36, 41.27)
CIE-LCHlch(48.54, 54.34, 130.59°)
OKLaboklab(54.45% -0.0982 0.0943)
OKLCHoklch(54.45% 0.136 136.2)
XYZxyz(10.8887, 17.2241, 4.6699)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488127 #602781
analogous
#758127 #488127 #278133
triadic
#488127 #274881 #812748
tetradic
#488127 #277581 #602781 #813327
square
#488127 #277581 #602781 #813327
split-complementary
#488127 #332781 #812775
monochromatic
#14230B #2E5219 #488127 #62B035 #82CC56

Accessibility & contrast

On white

4.72
#488127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #488127
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488127#FFFFFF#000000##FFFFFF
##4881271.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761A
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#467C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488127;
/* rgb */ color: rgb(72, 129, 39);
/* oklch */ color: oklch(54.5% 0.136 136.2);
Tailwind
colors: {
  custom: {
    50: '#80a666',
    500: '#488127',
    950: '#000000',
  },
}
SCSS
$custom: #488127;
$custom-light: #80a666;
$custom-dark: #000000;
JSON
{
  "hex": "#488127",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 98,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.13613,
    "h": 136.2
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#488127
secondary
#8E53B1
accent
#4BDDA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488127

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

Preview Lab → · Contrast checker → · Palette generator →

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