#488F2D#488F2D

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

Color values

HEX#488F2D
RGBrgb(72, 143, 45)
HSLhsl(103, 52%, 37%)
HSVhsv(103, 69%, 56%)
CMYKcmyk(49.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.18, -40.78, 43.62)
CIE-LCHlch(53.18, 59.72, 133.07°)
OKLaboklab(58.27% -0.1125 0.1)
OKLCHoklch(58.27% 0.151 138.3)
XYZxyz(12.9681, 21.2112, 5.8929)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F2D #742D8F
analogous
#798F2D #488F2D #2D8F43
triadic
#488F2D #2D488F #8F2D48
tetradic
#488F2D #2D798F #742D8F #8F432D
square
#488F2D #2D798F #742D8F #8F432D
split-complementary
#488F2D #432D8F #8F2D79
monochromatic
#193210 #31601E #488F2D #5FBE3C #84CF67

Accessibility & contrast

On white

4.01
#488F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#488F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F2D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F2D#FFFFFF#000000##000000
##488F2D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#438A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f2d;
/* rgb */ color: rgb(72, 143, 45);
/* oklch */ color: oklch(58.3% 0.151 138.3);
Tailwind
colors: {
  custom: {
    50: '#82b06b',
    500: '#488f2d',
    950: '#000000',
  },
}
SCSS
$custom: #488f2d;
$custom-light: #82b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#488f2d",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 103.469,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.15052,
    "h": 138.3
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#488F2D
secondary
#9F62B6
accent
#4CDCB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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