#488731#488731

#488731 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.2% C 0.136 H 138.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#488731
RGBrgb(72, 135, 49)
HSLhsl(104, 47%, 36%)
HSVhsv(104, 64%, 53%)
CMYKcmyk(46.7%, 0%, 63.7%, 47.1%)
CIE-LABlab(50.60, -37.01, 39.01)
CIE-LCHlch(50.60, 53.77, 133.49°)
OKLaboklab(56.17% -0.1019 0.0908)
OKLCHoklch(56.17% 0.136 138.3)
XYZxyz(11.8904, 18.9267, 5.9318)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488731 #703187
analogous
#738731 #488731 #318745
triadic
#488731 #314887 #873148
tetradic
#488731 #317387 #703187 #874531
square
#488731 #317387 #703187 #874531
split-complementary
#488731 #453187 #873173
monochromatic
#182D10 #305A21 #488731 #60B441 #83C96A

Accessibility & contrast

On white

4.39
#488731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#488731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488731
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488731#FFFFFF#000000##000000
##4887311.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#837638
Tritanopia (blue-blind)
#448275
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #488731;
/* rgb */ color: rgb(72, 135, 49);
/* oklch */ color: oklch(56.2% 0.136 138.3);
Tailwind
colors: {
  custom: {
    50: '#80aa6d',
    500: '#488731',
    950: '#000000',
  },
}
SCSS
$custom: #488731;
$custom-light: #80aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#488731",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 103.953,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.13647,
    "h": 138.3
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#488731
secondary
#9C64B0
accent
#51D6B3
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488731

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

Preview Lab → · Contrast checker → · Palette generator →

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