#488227#488227

#488227 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.138 H 136.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#488227
RGBrgb(72, 130, 39)
HSLhsl(98, 54%, 33%)
HSVhsv(98, 70%, 51%)
CMYKcmyk(44.6%, 0%, 70%, 49%)
CIE-LABlab(48.87, -35.80, 41.62)
CIE-LCHlch(48.87, 54.89, 130.70°)
OKLaboklab(54.72% -0.0994 0.095)
OKLCHoklch(54.72% 0.138 136.3)
XYZxyz(11.0210, 17.4888, 4.7140)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488227 #612782
analogous
#758227 #488227 #278234
triadic
#488227 #274882 #822748
tetradic
#488227 #277582 #612782 #823427
square
#488227 #277582 #612782 #823427
split-complementary
#488227 #342782 #822775
monochromatic
#14240B #2E5319 #488227 #62B135 #82CD57

Accessibility & contrast

On white

4.67
#488227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#488227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #488227
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488227#FFFFFF#000000##FFFFFF
##4882271.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#467D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488227;
/* rgb */ color: rgb(72, 130, 39);
/* oklch */ color: oklch(54.7% 0.138 136.3);
Tailwind
colors: {
  custom: {
    50: '#80a766',
    500: '#488227',
    950: '#000000',
  },
}
SCSS
$custom: #488227;
$custom-light: #80a766;
$custom-dark: #000000;
JSON
{
  "hex": "#488227",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 98.242,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.1375,
    "h": 136.3
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#488227
secondary
#8F53B1
accent
#4BDDA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488227

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

Preview Lab → · Contrast checker → · Palette generator →

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