#488C31#488C31

#488C31 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.143 H 138.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#488C31
RGBrgb(72, 140, 49)
HSLhsl(105, 48%, 37%)
HSVhsv(105, 65%, 55%)
CMYKcmyk(48.6%, 0%, 65%, 45.1%)
CIE-LABlab(52.24, -39.14, 40.83)
CIE-LCHlch(52.24, 56.56, 133.79°)
OKLaboklab(57.51% -0.1077 0.0946)
OKLCHoklch(57.51% 0.143 138.7)
XYZxyz(12.6045, 20.3548, 6.1698)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C31 #75318C
analogous
#768C31 #488C31 #318C48
triadic
#488C31 #31488C #8C3148
tetradic
#488C31 #31768C #75318C #8C4831
square
#488C31 #31768C #75318C #8C4831
split-complementary
#488C31 #48318C #8C3176
monochromatic
#193111 #315F21 #488C31 #5FB941 #84CC6C

Accessibility & contrast

On white

4.14
#488C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#488C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C31
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C31#FFFFFF#000000##000000
##488C311.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#438779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488c31;
/* rgb */ color: rgb(72, 140, 49);
/* oklch */ color: oklch(57.5% 0.143 138.7);
Tailwind
colors: {
  custom: {
    50: '#81ae6d',
    500: '#488c31',
    950: '#000000',
  },
}
SCSS
$custom: #488c31;
$custom-light: #81ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#488c31",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 104.835,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.14338,
    "h": 138.7
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#488C31
secondary
#A066B3
accent
#50D8B5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488C31

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

Preview Lab → · Contrast checker → · Palette generator →

#488C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva