#488E18#488E18

#488E18 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.162 H 136.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#488E18
RGBrgb(72, 142, 24)
HSLhsl(96, 71%, 33%)
HSVhsv(96, 83%, 56%)
CMYKcmyk(49.3%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.72, -41.86, 50.81)
CIE-LCHlch(52.72, 65.83, 129.48°)
OKLaboklab(57.85% -0.1167 0.112)
OKLCHoklch(57.85% 0.162 136.2)
XYZxyz(12.5100, 20.7888, 4.2174)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488E18 #5E188E
analogous
#838E18 #488E18 #188E23
triadic
#488E18 #18488E #8E1848
tetradic
#488E18 #18838E #5E188E #8E2318
square
#488E18 #18838E #5E188E #8E2318
split-complementary
#488E18 #23188E #8E1883
monochromatic
#132506 #2D5A0F #488E18 #63C221 #82DF41

Accessibility & contrast

On white

4.07
#488E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#488E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488E18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488E18#FFFFFF#000000##000000
##488E181.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#458879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #488e18;
/* rgb */ color: rgb(72, 142, 24);
/* oklch */ color: oklch(57.9% 0.162 136.2);
Tailwind
colors: {
  custom: {
    50: '#82b061',
    500: '#488e18',
    950: '#000000',
  },
}
SCSS
$custom: #488e18;
$custom-light: #82b061;
$custom-dark: #000000;
JSON
{
  "hex": "#488e18",
  "rgb": {
    "r": 72,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 95.593,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.1618,
    "h": 136.2
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#488E18
secondary
#8D42C0
accent
#3AEEA5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488E18

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

Preview Lab → · Contrast checker → · Palette generator →

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