#488D31#488D31

#488D31 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.8% C 0.145 H 138.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#488D31
RGBrgb(72, 141, 49)
HSLhsl(105, 48%, 37%)
HSVhsv(105, 65%, 55%)
CMYKcmyk(48.9%, 0%, 65.2%, 44.7%)
CIE-LABlab(52.56, -39.57, 41.19)
CIE-LCHlch(52.56, 57.11, 133.85°)
OKLaboklab(57.78% -0.1089 0.0954)
OKLCHoklch(57.78% 0.145 138.8)
XYZxyz(12.7513, 20.6483, 6.2187)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D31 #76318D
analogous
#768D31 #488D31 #318D48
triadic
#488D31 #31488D #8D3148
tetradic
#488D31 #31768D #76318D #8D4831
square
#488D31 #31768D #76318D #8D4831
split-complementary
#488D31 #48318D #8D3176
monochromatic
#1A3211 #316021 #488D31 #5FBA41 #84CC6C

Accessibility & contrast

On white

4.09
#488D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#488D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D31
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D31#FFFFFF#000000##000000
##488D311.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#887B39
Tritanopia (blue-blind)
#43887A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d31;
/* rgb */ color: rgb(72, 141, 49);
/* oklch */ color: oklch(57.8% 0.145 138.8);
Tailwind
colors: {
  custom: {
    50: '#81af6d',
    500: '#488d31',
    950: '#000000',
  },
}
SCSS
$custom: #488d31;
$custom-light: #81af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#488d31",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 105,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.14476,
    "h": 138.8
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#488D31
secondary
#A066B4
accent
#50D8B6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488D31

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

Preview Lab → · Contrast checker → · Palette generator →

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