#488B1A#488B1A

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

Color values

HEX#488B1A
RGBrgb(72, 139, 26)
HSLhsl(96, 68%, 32%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.2%, 0%, 81.3%, 45.5%)
CIE-LABlab(51.74, -40.53, 49.31)
CIE-LCHlch(51.74, 63.83, 129.42°)
OKLaboklab(57.05% -0.113 0.1092)
OKLCHoklch(57.05% 0.157 136)
XYZxyz(12.0912, 19.9167, 4.1843)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488B1A #5D1A8B
analogous
#818B1A #488B1A #1A8B24
triadic
#488B1A #1A488B #8B1A48
tetradic
#488B1A #1A818B #5D1A8B #8B241A
square
#488B1A #1A818B #5D1A8B #8B241A
split-complementary
#488B1A #241A8B #8B1A81
monochromatic
#132407 #2D5710 #488B1A #63BF24 #82DC43

Accessibility & contrast

On white

4.21
#488B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##488B1A#FFFFFF#000000##000000
##488B1A1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488b1a;
/* rgb */ color: rgb(72, 139, 26);
/* oklch */ color: oklch(57.1% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#82ad61',
    500: '#488b1a',
    950: '#000000',
  },
}
SCSS
$custom: #488b1a;
$custom-light: #82ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#488b1a",
  "rgb": {
    "r": 72,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 95.575,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.15717,
    "h": 136
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#488B1A
secondary
#8C44BD
accent
#3CEBA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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