#488F28#488F28

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

Color values

HEX#488F28
RGBrgb(72, 143, 40)
HSLhsl(101, 56%, 36%)
HSVhsv(101, 72%, 56%)
CMYKcmyk(49.7%, 0%, 72%, 43.9%)
CIE-LABlab(53.14, -41.22, 45.66)
CIE-LCHlch(53.14, 61.51, 132.07°)
OKLaboklab(58.23% -0.114 0.1036)
OKLCHoklch(58.23% 0.154 137.7)
XYZxyz(12.8775, 21.1749, 5.4157)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F28 #6F288F
analogous
#7B8F28 #488F28 #288F3B
triadic
#488F28 #28488F #8F2848
tetradic
#488F28 #287B8F #6F288F #8F3B28
square
#488F28 #287B8F #6F288F #8F3B28
split-complementary
#488F28 #3B288F #8F287B
monochromatic
#182F0D #305F1B #488F28 #60BF35 #83D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488F28#FFFFFF#000000##000000
##488F281.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)
#948318
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#438A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f28;
/* rgb */ color: rgb(72, 143, 40);
/* oklch */ color: oklch(58.2% 0.154 137.7);
Tailwind
colors: {
  custom: {
    50: '#82b068',
    500: '#488f28',
    950: '#000000',
  },
}
SCSS
$custom: #488f28;
$custom-light: #82b068;
$custom-dark: #000000;
JSON
{
  "hex": "#488f28",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 101.359,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.15405,
    "h": 137.7
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#488F28
secondary
#9B5BB8
accent
#48E0B1
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488F28

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

Preview Lab → · Contrast checker → · Palette generator →

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