#488F2A#488F2A

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

Color values

HEX#488F2A
RGBrgb(72, 143, 42)
HSLhsl(102, 55%, 36%)
HSVhsv(102, 71%, 56%)
CMYKcmyk(49.7%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.16, -41.05, 44.86)
CIE-LCHlch(53.16, 60.81, 132.46°)
OKLaboklab(58.25% -0.1134 0.1022)
OKLCHoklch(58.25% 0.153 138)
XYZxyz(12.9124, 21.1889, 5.5995)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F2A #712A8F
analogous
#7B8F2A #488F2A #2A8F3F
triadic
#488F2A #2A488F #8F2A48
tetradic
#488F2A #2A7B8F #712A8F #8F3F2A
square
#488F2A #2A7B8F #712A8F #8F3F2A
split-complementary
#488F2A #3F2A8F #8F2A7B
monochromatic
#18300E #30601C #488F2A #60BE38 #83D162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488F2A#FFFFFF#000000##000000
##488F2A1.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)
#94831B
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#438A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f2a;
/* rgb */ color: rgb(72, 143, 42);
/* oklch */ color: oklch(58.2% 0.153 138.0);
Tailwind
colors: {
  custom: {
    50: '#82b069',
    500: '#488f2a',
    950: '#000000',
  },
}
SCSS
$custom: #488f2a;
$custom-light: #82b069;
$custom-dark: #000000;
JSON
{
  "hex": "#488f2a",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 102.178,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.15268,
    "h": 138
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#488F2A
secondary
#9C5EB7
accent
#4ADEB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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