#488C1D#488C1D

#488C1D is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.157 H 136.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#488C1D
RGBrgb(72, 140, 29)
HSLhsl(97, 66%, 33%)
HSVhsv(97, 79%, 55%)
CMYKcmyk(48.6%, 0%, 79.3%, 45.1%)
CIE-LABlab(52.09, -40.76, 48.66)
CIE-LCHlch(52.09, 63.48, 129.95°)
OKLaboklab(57.34% -0.1135 0.1083)
OKLCHoklch(57.34% 0.157 136.3)
XYZxyz(12.2720, 20.2218, 4.4187)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1D #611D8C
analogous
#7F8C1D #488C1D #1D8C2A
triadic
#488C1D #1D488C #8C1D48
tetradic
#488C1D #1D7F8C #611D8C #8C2A1D
square
#488C1D #1D7F8C #611D8C #8C2A1D
split-complementary
#488C1D #2A1D8C #8C1D7F
monochromatic
#142708 #2E5912 #488C1D #62BF28 #82D94A

Accessibility & contrast

On white

4.16
#488C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#488C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488C1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488C1D#FFFFFF#000000##000000
##488C1D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c1d;
/* rgb */ color: rgb(72, 140, 29);
/* oklch */ color: oklch(57.3% 0.157 136.3);
Tailwind
colors: {
  custom: {
    50: '#82ae62',
    500: '#488c1d',
    950: '#000000',
  },
}
SCSS
$custom: #488c1d;
$custom-light: #82ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1d",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 96.757,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.15688,
    "h": 136.3
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#488C1D
secondary
#8F49BC
accent
#3FE9A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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