#488115#488115

#488115 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.147 H 134.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#488115
RGBrgb(72, 129, 21)
HSLhsl(92, 72%, 29%)
HSVhsv(92, 84%, 51%)
CMYKcmyk(44.2%, 0%, 83.7%, 49.4%)
CIE-LABlab(48.43, -36.59, 47.76)
CIE-LCHlch(48.43, 60.17, 127.45°)
OKLaboklab(54.32% -0.1028 0.1052)
OKLCHoklch(54.32% 0.147 134.3)
XYZxyz(10.6579, 17.1318, 3.4545)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488115 #4E1581
analogous
#7E8115 #488115 #158118
triadic
#488115 #154881 #811548
tetradic
#488115 #157E81 #4E1581 #811815
square
#488115 #157E81 #4E1581 #811815
split-complementary
#488115 #181581 #81157E
monochromatic
#0F1A04 #2B4C0C #488115 #65B61E #83DE33

Accessibility & contrast

On white

4.74
#488115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#488115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488115
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488115#FFFFFF#000000##FFFFFF
##4881151.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7122
Tritanopia (blue-blind)
#477C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488115;
/* rgb */ color: rgb(72, 129, 21);
/* oklch */ color: oklch(54.3% 0.147 134.3);
Tailwind
colors: {
  custom: {
    50: '#81a65d',
    500: '#488115',
    950: '#000000',
  },
}
SCSS
$custom: #488115;
$custom-light: #81a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#488115",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 91.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.14705,
    "h": 134.3
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#488115
secondary
#7C3CB6
accent
#39EF99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488115

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

Preview Lab → · Contrast checker → · Palette generator →

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