#488E2F#488E2F

#488E2F is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.148 H 138.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#488E2F
RGBrgb(72, 142, 47)
HSLhsl(104, 50%, 37%)
HSVhsv(104, 67%, 56%)
CMYKcmyk(49.3%, 0%, 66.9%, 44.3%)
CIE-LABlab(52.87, -40.18, 42.42)
CIE-LCHlch(52.87, 58.43, 133.45°)
OKLaboklab(58.03% -0.1107 0.0978)
OKLCHoklch(58.03% 0.148 138.5)
XYZxyz(12.8581, 20.9281, 6.0507)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E2F #752F8E
analogous
#788E2F #488E2F #2F8E46
triadic
#488E2F #2F488E #8E2F48
tetradic
#488E2F #2F788E #752F8E #8E462F
square
#488E2F #2F788E #752F8E #8E462F
split-complementary
#488E2F #462F8E #8E2F78
monochromatic
#193211 #316020 #488E2F #5FBC3E #84CE6A

Accessibility & contrast

On white

4.05
#488E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#488E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E2F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E2F#FFFFFF#000000##000000
##488E2F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#43897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e2f;
/* rgb */ color: rgb(72, 142, 47);
/* oklch */ color: oklch(58.0% 0.148 138.5);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#488e2f',
    950: '#000000',
  },
}
SCSS
$custom: #488e2f;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#488e2f",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 104.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.14768,
    "h": 138.5
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#488E2F
secondary
#A064B5
accent
#4EDAB5
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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