#488F2F#488F2F

#488F2F is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.3% C 0.149 H 138.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#488F2F
RGBrgb(72, 143, 47)
HSLhsl(104, 51%, 37%)
HSVhsv(104, 67%, 56%)
CMYKcmyk(49.7%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.20, -40.60, 42.77)
CIE-LCHlch(53.20, 58.97, 133.50°)
OKLaboklab(58.29% -0.1118 0.0985)
OKLCHoklch(58.29% 0.149 138.6)
XYZxyz(13.0076, 21.2270, 6.1006)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488F2F #762F8F
analogous
#788F2F #488F2F #2F8F46
triadic
#488F2F #2F488F #8F2F48
tetradic
#488F2F #2F788F #762F8F #8F462F
square
#488F2F #2F788F #762F8F #8F462F
split-complementary
#488F2F #462F8F #8F2F78
monochromatic
#1A3311 #316120 #488F2F #5FBD3E #84CE6A

Accessibility & contrast

On white

4.00
#488F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#488F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488F2F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488F2F#FFFFFF#000000##000000
##488F2F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#428A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #488f2f;
/* rgb */ color: rgb(72, 143, 47);
/* oklch */ color: oklch(58.3% 0.149 138.6);
Tailwind
colors: {
  custom: {
    50: '#81b06c',
    500: '#488f2f',
    950: '#000000',
  },
}
SCSS
$custom: #488f2f;
$custom-light: #81b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#488f2f",
  "rgb": {
    "r": 72,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 104.375,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.14902,
    "h": 138.6
  },
  "luminance": 0.21228
}

Semantic roles & 50–950 ramp

primary
#488F2F
secondary
#A065B5
accent
#4EDAB6
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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