#488D1D#488D1D

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

Color values

HEX#488D1D
RGBrgb(72, 141, 29)
HSLhsl(97, 66%, 33%)
HSVhsv(97, 79%, 55%)
CMYKcmyk(48.9%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.41, -41.17, 48.97)
CIE-LCHlch(52.41, 63.98, 130.05°)
OKLaboklab(57.61% -0.1146 0.109)
OKLCHoklch(57.61% 0.158 136.4)
XYZxyz(12.4188, 20.5153, 4.4676)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D1D #621D8D
analogous
#808D1D #488D1D #1D8D2A
triadic
#488D1D #1D488D #8D1D48
tetradic
#488D1D #1D808D #621D8D #8D2A1D
square
#488D1D #1D808D #621D8D #8D2A1D
split-complementary
#488D1D #2A1D8D #8D1D80
monochromatic
#142708 #2E5A13 #488D1D #62C027 #82DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #488d1d;
/* rgb */ color: rgb(72, 141, 29);
/* oklch */ color: oklch(57.6% 0.158 136.4);
Tailwind
colors: {
  custom: {
    50: '#82af63',
    500: '#488d1d',
    950: '#000000',
  },
}
SCSS
$custom: #488d1d;
$custom-light: #82af63;
$custom-dark: #000000;
JSON
{
  "hex": "#488d1d",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 96.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.15812,
    "h": 136.4
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#488D1D
secondary
#904ABC
accent
#3FE9A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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