#488D1A#488D1A

#488D1A is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.160 H 136.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#488D1A
RGBrgb(72, 141, 26)
HSLhsl(96, 69%, 33%)
HSVhsv(96, 82%, 55%)
CMYKcmyk(48.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.40, -41.35, 49.92)
CIE-LCHlch(52.40, 64.82, 129.63°)
OKLaboklab(57.59% -0.1152 0.1105)
OKLCHoklch(57.59% 0.16 136.2)
XYZxyz(12.3835, 20.5012, 4.2817)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D1A #5F1A8D
analogous
#818D1A #488D1A #1A8D26
triadic
#488D1A #1A488D #8D1A48
tetradic
#488D1A #1A818D #5F1A8D #8D261A
square
#488D1A #1A818D #5F1A8D #8D261A
split-complementary
#488D1A #261A8D #8D1A81
monochromatic
#132607 #2E5910 #488D1A #62C124 #82DD45

Accessibility & contrast

On white

4.12
#488D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#488D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D1A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D1A#FFFFFF#000000##000000
##488D1A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#458878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d1a;
/* rgb */ color: rgb(72, 141, 26);
/* oklch */ color: oklch(57.6% 0.160 136.2);
Tailwind
colors: {
  custom: {
    50: '#82af61',
    500: '#488d1a',
    950: '#000000',
  },
}
SCSS
$custom: #488d1a;
$custom-light: #82af61;
$custom-dark: #000000;
JSON
{
  "hex": "#488d1a",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 96,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.15964,
    "h": 136.2
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#488D1A
secondary
#8E45BE
accent
#3CECA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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