#488C15#488C15

#488C15 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.161 H 135.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#488C15
RGBrgb(72, 140, 21)
HSLhsl(94, 74%, 32%)
HSVhsv(94, 85%, 55%)
CMYKcmyk(48.6%, 0%, 85%, 45.1%)
CIE-LABlab(52.05, -41.19, 51.04)
CIE-LCHlch(52.05, 65.59, 128.91°)
OKLaboklab(57.29% -0.1151 0.1121)
OKLCHoklch(57.29% 0.161 135.8)
XYZxyz(12.1856, 20.1872, 3.9637)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C15 #59158C
analogous
#848C15 #488C15 #158C1E
triadic
#488C15 #15488C #8C1548
tetradic
#488C15 #15848C #59158C #8C1E15
square
#488C15 #15848C #59158C #8C1E15
split-complementary
#488C15 #1E158C #8C1584
monochromatic
#112205 #2D570D #488C15 #63C11D #82E13A

Accessibility & contrast

On white

4.17
#488C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#488C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C15#FFFFFF#000000##000000
##488C151.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#458677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c15;
/* rgb */ color: rgb(72, 140, 21);
/* oklch */ color: oklch(57.3% 0.161 135.8);
Tailwind
colors: {
  custom: {
    50: '#82ae5f',
    500: '#488c15',
    950: '#000000',
  },
}
SCSS
$custom: #488c15;
$custom-light: #82ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#488c15",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 94.286,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.16066,
    "h": 135.8
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#488C15
secondary
#883DC0
accent
#37F1A1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #488C15

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

Preview Lab → · Contrast checker → · Palette generator →

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