#488231#488231

#488231 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.8% C 0.129 H 137.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#488231
RGBrgb(72, 130, 49)
HSLhsl(103, 45%, 35%)
HSVhsv(103, 62%, 51%)
CMYKcmyk(44.6%, 0%, 62.3%, 49%)
CIE-LABlab(48.96, -34.82, 37.17)
CIE-LCHlch(48.96, 50.93, 133.13°)
OKLaboklab(54.83% -0.096 0.0868)
OKLCHoklch(54.83% 0.129 137.9)
XYZxyz(11.2091, 17.5641, 5.7047)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488231 #6B3182
analogous
#708231 #488231 #318243
triadic
#488231 #314882 #823148
tetradic
#488231 #317082 #6B3182 #824331
square
#488231 #317082 #6B3182 #824331
split-complementary
#488231 #433182 #823170
monochromatic
#17290F #2F5620 #488231 #61AE42 #82C668

Accessibility & contrast

On white

4.65
#488231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#488231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #488231
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488231#FFFFFF#000000##FFFFFF
##4882311.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#457E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488231;
/* rgb */ color: rgb(72, 130, 49);
/* oklch */ color: oklch(54.8% 0.129 137.9);
Tailwind
colors: {
  custom: {
    50: '#80a76c',
    500: '#488231',
    950: '#000000',
  },
}
SCSS
$custom: #488231;
$custom-light: #80a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#488231",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 102.963,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.12941,
    "h": 137.9
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#488231
secondary
#9862AD
accent
#53D5B0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #488231

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

Preview Lab → · Contrast checker → · Palette generator →

#488231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva