#488F31#488F31

#488F31 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.3% C 0.147 H 138.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#488F31
RGBrgb(72, 143, 49)
HSLhsl(105, 49%, 38%)
HSVhsv(105, 66%, 56%)
CMYKcmyk(49.7%, 0%, 65.7%, 43.9%)
CIE-LABlab(53.22, -40.40, 41.91)
CIE-LCHlch(53.22, 58.21, 133.95°)
OKLaboklab(58.31% -0.1111 0.0969)
OKLCHoklch(58.31% 0.147 138.9)
XYZxyz(13.0488, 21.2435, 6.3179)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F31 #78318F
analogous
#778F31 #488F31 #318F49
triadic
#488F31 #31488F #8F3148
tetradic
#488F31 #31778F #78318F #8F4931
square
#488F31 #31778F #78318F #8F4931
split-complementary
#488F31 #49318F #8F3177
monochromatic
#1A3412 #316121 #488F31 #5FBD41 #85CD6D

Accessibility & contrast

On white

4.00
#488F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#488F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F31
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F31#FFFFFF#000000##000000
##488F311.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#8A7D39
Tritanopia (blue-blind)
#428A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f31;
/* rgb */ color: rgb(72, 143, 49);
/* oklch */ color: oklch(58.3% 0.147 138.9);
Tailwind
colors: {
  custom: {
    50: '#81b06d',
    500: '#488f31',
    950: '#000000',
  },
}
SCSS
$custom: #488f31;
$custom-light: #81b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#488f31",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 105.319,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.14746,
    "h": 138.9
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#488F31
secondary
#A267B5
accent
#4FD9B7
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488F31

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

Preview Lab → · Contrast checker → · Palette generator →

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