#488C2A#488C2A

#488C2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.149 H 137.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#488C2A
RGBrgb(72, 140, 42)
HSLhsl(102, 54%, 36%)
HSVhsv(102, 70%, 55%)
CMYKcmyk(48.6%, 0%, 70%, 45.1%)
CIE-LABlab(52.17, -39.80, 43.83)
CIE-LCHlch(52.17, 59.21, 132.24°)
OKLaboklab(57.44% -0.11 0.1001)
OKLCHoklch(57.44% 0.149 137.7)
XYZxyz(12.4681, 20.3002, 5.4514)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C2A #6E2A8C
analogous
#798C2A #488C2A #2A8C3D
triadic
#488C2A #2A488C #8C2A48
tetradic
#488C2A #2A798C #6E2A8C #8C3D2A
square
#488C2A #2A798C #6E2A8C #8C3D2A
split-complementary
#488C2A #3D2A8C #8C2A79
monochromatic
#182E0E #305D1C #488C2A #60BB38 #83D061

Accessibility & contrast

On white

4.15
#488C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#488C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C2A#FFFFFF#000000##000000
##488C2A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c2a;
/* rgb */ color: rgb(72, 140, 42);
/* oklch */ color: oklch(57.4% 0.149 137.7);
Tailwind
colors: {
  custom: {
    50: '#81ae69',
    500: '#488c2a',
    950: '#000000',
  },
}
SCSS
$custom: #488c2a;
$custom-light: #81ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#488c2a",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 101.633,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.14873,
    "h": 137.7
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#488C2A
secondary
#9A5CB5
accent
#4BDDB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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