#488028#488028

#488028 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.134 H 136.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#488028
RGBrgb(72, 128, 40)
HSLhsl(98, 52%, 33%)
HSVhsv(98, 69%, 50%)
CMYKcmyk(43.8%, 0%, 68.8%, 49.8%)
CIE-LABlab(48.22, -34.83, 40.49)
CIE-LCHlch(48.22, 53.41, 130.70°)
OKLaboklab(54.19% -0.0967 0.0928)
OKLCHoklch(54.19% 0.134 136.2)
XYZxyz(10.7744, 16.9686, 4.7146)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488028 #602880
analogous
#748028 #488028 #288034
triadic
#488028 #284880 #802848
tetradic
#488028 #287480 #602880 #803428
square
#488028 #287480 #602880 #803428
split-complementary
#488028 #342880 #802874
monochromatic
#14230B #2E5119 #488028 #62AF37 #82CB58

Accessibility & contrast

On white

4.78
#488028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#488028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488028
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488028#FFFFFF#000000##FFFFFF
##4880281.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751C
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#467B6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #488028;
/* rgb */ color: rgb(72, 128, 40);
/* oklch */ color: oklch(54.2% 0.134 136.2);
Tailwind
colors: {
  custom: {
    50: '#80a567',
    500: '#488028',
    950: '#000000',
  },
}
SCSS
$custom: #488028;
$custom-light: #80a567;
$custom-dark: #000000;
JSON
{
  "hex": "#488028",
  "rgb": {
    "r": 72,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 98.182,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.134,
    "h": 136.2
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#488028
secondary
#8E54B0
accent
#4CDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #488028

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

Preview Lab → · Contrast checker → · Palette generator →

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