#488E2B#488E2B

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

Color values

HEX#488E2B
RGBrgb(72, 142, 43)
HSLhsl(102, 54%, 36%)
HSVhsv(102, 70%, 56%)
CMYKcmyk(49.3%, 0%, 69.7%, 44.3%)
CIE-LABlab(52.84, -40.55, 44.11)
CIE-LCHlch(52.84, 59.91, 132.59°)
OKLaboklab(57.99% -0.112 0.1008)
OKLCHoklch(57.99% 0.151 138)
XYZxyz(12.7811, 20.8973, 5.6451)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E2B #712B8E
analogous
#7A8E2B #488E2B #2B8E40
triadic
#488E2B #2B488E #8E2B48
tetradic
#488E2B #2B7A8E #712B8E #8E402B
square
#488E2B #2B7A8E #712B8E #8E402B
split-complementary
#488E2B #402B8E #8E2B7A
monochromatic
#18300F #305F1D #488E2B #60BD39 #83D063

Accessibility & contrast

On white

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

On black

5.18
#488E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E2B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E2B#FFFFFF#000000##000000
##488E2B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#43897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e2b;
/* rgb */ color: rgb(72, 142, 43);
/* oklch */ color: oklch(58.0% 0.151 138.0);
Tailwind
colors: {
  custom: {
    50: '#81b06a',
    500: '#488e2b',
    950: '#000000',
  },
}
SCSS
$custom: #488e2b;
$custom-light: #81b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#488e2b",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 102.424,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.15065,
    "h": 138
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#488E2B
secondary
#9C5FB6
accent
#4BDDB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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