#488118#488118

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

Color values

HEX#488118
RGBrgb(72, 129, 24)
HSLhsl(93, 69%, 30%)
HSVhsv(93, 81%, 51%)
CMYKcmyk(44.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.44, -36.43, 46.85)
CIE-LCHlch(48.44, 59.35, 127.86°)
OKLaboklab(54.34% -0.1022 0.1037)
OKLCHoklch(54.34% 0.146 134.6)
XYZxyz(10.6874, 17.1436, 3.6099)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488118 #511881
analogous
#7D8118 #488118 #18811C
triadic
#488118 #184881 #811848
tetradic
#488118 #187D81 #511881 #811C18
square
#488118 #187D81 #511881 #811C18
split-complementary
#488118 #1C1881 #81187D
monochromatic
#0E1A05 #2B4D0E #488118 #65B522 #83DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #488118;
/* rgb */ color: rgb(72, 129, 24);
/* oklch */ color: oklch(54.3% 0.146 134.6);
Tailwind
colors: {
  custom: {
    50: '#81a65f',
    500: '#488118',
    950: '#000000',
  },
}
SCSS
$custom: #488118;
$custom-light: #81a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#488118",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 92.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54337,
    "c": 0.14559,
    "h": 134.6
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#488118
secondary
#7F40B5
accent
#3CEB9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #488118

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

Preview Lab → · Contrast checker → · Palette generator →

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