#488117#488117

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

Color values

HEX#488117
RGBrgb(72, 129, 23)
HSLhsl(92, 70%, 30%)
HSVhsv(92, 82%, 51%)
CMYKcmyk(44.2%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.44, -36.48, 47.17)
CIE-LCHlch(48.44, 59.63, 127.72°)
OKLaboklab(54.33% -0.1024 0.1042)
OKLCHoklch(54.33% 0.146 134.5)
XYZxyz(10.6772, 17.1395, 3.5561)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488117 #501781
analogous
#7D8117 #488117 #17811B
triadic
#488117 #174881 #811748
tetradic
#488117 #177D81 #501781 #811B17
square
#488117 #177D81 #501781 #811B17
split-complementary
#488117 #1B1781 #81177D
monochromatic
#0E1A05 #2B4D0E #488117 #65B520 #83DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488117#FFFFFF#000000##FFFFFF
##4881171.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)
#7F7123
Tritanopia (blue-blind)
#477C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #488117;
/* rgb */ color: rgb(72, 129, 23);
/* oklch */ color: oklch(54.3% 0.146 134.5);
Tailwind
colors: {
  custom: {
    50: '#81a65e',
    500: '#488117',
    950: '#000000',
  },
}
SCSS
$custom: #488117;
$custom-light: #81a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#488117",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 92.264,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.14609,
    "h": 134.5
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#488117
secondary
#7E3EB5
accent
#3BED9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488117

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

Preview Lab → · Contrast checker → · Palette generator →

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