#488C18#488C18

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

Color values

HEX#488C18
RGBrgb(72, 140, 24)
HSLhsl(95, 71%, 32%)
HSVhsv(95, 83%, 55%)
CMYKcmyk(48.6%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.06, -41.05, 50.21)
CIE-LCHlch(52.06, 64.85, 129.27°)
OKLaboklab(57.31% -0.1146 0.1108)
OKLCHoklch(57.31% 0.159 136)
XYZxyz(12.2151, 20.1990, 4.1191)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C18 #5C188C
analogous
#828C18 #488C18 #188C22
triadic
#488C18 #18488C #8C1848
tetradic
#488C18 #18828C #5C188C #8C2218
square
#488C18 #18828C #5C188C #8C2218
split-complementary
#488C18 #22188C #8C1882
monochromatic
#122406 #2D580F #488C18 #63C021 #82DE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C18#FFFFFF#000000##000000
##488C181.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)
#887A26
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c18;
/* rgb */ color: rgb(72, 140, 24);
/* oklch */ color: oklch(57.3% 0.159 136.0);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#488c18',
    950: '#000000',
  },
}
SCSS
$custom: #488c18;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#488c18",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 95.172,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.15935,
    "h": 136
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#488C18
secondary
#8B41BF
accent
#3AEDA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488C18

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

Preview Lab → · Contrast checker → · Palette generator →

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