#488C2F#488C2F

#488C2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.5% C 0.145 H 138.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#488C2F
RGBrgb(72, 140, 47)
HSLhsl(104, 50%, 37%)
HSVhsv(104, 66%, 55%)
CMYKcmyk(48.6%, 0%, 66.4%, 45.1%)
CIE-LABlab(52.22, -39.34, 41.71)
CIE-LCHlch(52.22, 57.34, 133.33°)
OKLaboklab(57.49% -0.1084 0.0963)
OKLCHoklch(57.49% 0.145 138.4)
XYZxyz(12.5632, 20.3383, 5.9524)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C2F #732F8C
analogous
#778C2F #488C2F #2F8C45
triadic
#488C2F #2F488C #8C2F48
tetradic
#488C2F #2F778C #732F8C #8C452F
square
#488C2F #2F778C #732F8C #8C452F
split-complementary
#488C2F #452F8C #8C2F77
monochromatic
#193010 #305E20 #488C2F #60BA3E #84CD69

Accessibility & contrast

On white

4.14
#488C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#488C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C2F#FFFFFF#000000##000000
##488C2F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#438779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488c2f;
/* rgb */ color: rgb(72, 140, 47);
/* oklch */ color: oklch(57.5% 0.145 138.4);
Tailwind
colors: {
  custom: {
    50: '#81ae6c',
    500: '#488c2f',
    950: '#000000',
  },
}
SCSS
$custom: #488c2f;
$custom-light: #81ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#488c2f",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 103.871,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.14498,
    "h": 138.4
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#488C2F
secondary
#9E63B4
accent
#4FD9B4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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