#488D1B#488D1B

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

Color values

HEX#488D1B
RGBrgb(72, 141, 27)
HSLhsl(96, 68%, 33%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.9%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.40, -41.29, 49.61)
CIE-LCHlch(52.40, 64.55, 129.77°)
OKLaboklab(57.6% -0.115 0.11)
OKLCHoklch(57.6% 0.159 136.3)
XYZxyz(12.3949, 20.5058, 4.3416)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D1B #601B8D
analogous
#818D1B #488D1B #1B8D27
triadic
#488D1B #1B488D #8D1B48
tetradic
#488D1B #1B818D #601B8D #8D271B
square
#488D1B #1B818D #601B8D #8D271B
split-complementary
#488D1B #271B8D #8D1B81
monochromatic
#142607 #2E5A11 #488D1B #62C025 #82DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D1B#FFFFFF#000000##000000
##488D1B1.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)
#897B28
Tritanopia (blue-blind)
#458878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d1b;
/* rgb */ color: rgb(72, 141, 27);
/* oklch */ color: oklch(57.6% 0.159 136.3);
Tailwind
colors: {
  custom: {
    50: '#82af62',
    500: '#488d1b',
    950: '#000000',
  },
}
SCSS
$custom: #488d1b;
$custom-light: #82af62;
$custom-dark: #000000;
JSON
{
  "hex": "#488d1b",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 96.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57597,
    "c": 0.15915,
    "h": 136.3
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#488D1B
secondary
#8E46BD
accent
#3DEBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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