#488B18#488B18

#488B18 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.158 H 135.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#488B18
RGBrgb(72, 139, 24)
HSLhsl(95, 71%, 32%)
HSVhsv(95, 83%, 55%)
CMYKcmyk(48.2%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.73, -40.64, 49.91)
CIE-LCHlch(51.73, 64.36, 129.15°)
OKLaboklab(57.04% -0.1135 0.1101)
OKLCHoklch(57.04% 0.158 135.9)
XYZxyz(12.0697, 19.9081, 4.0706)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B18 #5B188B
analogous
#818B18 #488B18 #188B22
triadic
#488B18 #18488B #8B1848
tetradic
#488B18 #18818B #5B188B #8B2218
square
#488B18 #18818B #5B188B #8B2218
split-complementary
#488B18 #22188B #8B1881
monochromatic
#122306 #2D570F #488B18 #63BF21 #82DE3F

Accessibility & contrast

On white

4.22
#488B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#488B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488B18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488B18#FFFFFF#000000##000000
##488B181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#458676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488b18;
/* rgb */ color: rgb(72, 139, 24);
/* oklch */ color: oklch(57.0% 0.158 135.9);
Tailwind
colors: {
  custom: {
    50: '#82ad60',
    500: '#488b18',
    950: '#000000',
  },
}
SCSS
$custom: #488b18;
$custom-light: #82ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#488b18",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 94.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.15813,
    "h": 135.9
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #488B18

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

Preview Lab → · Contrast checker → · Palette generator →

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