#488D1C#488D1C

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

Color values

HEX#488D1C
RGBrgb(72, 141, 28)
HSLhsl(97, 67%, 33%)
HSVhsv(97, 80%, 55%)
CMYKcmyk(48.9%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.41, -41.23, 49.30)
CIE-LCHlch(52.41, 64.27, 129.91°)
OKLaboklab(57.6% -0.1148 0.1095)
OKLCHoklch(57.6% 0.159 136.4)
XYZxyz(12.4066, 20.5105, 4.4036)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D1C #611C8D
analogous
#808D1C #488D1C #1C8D28
triadic
#488D1C #1C488D #8D1C48
tetradic
#488D1C #1C808D #611C8D #8D281C
square
#488D1C #1C808D #611C8D #8D281C
split-complementary
#488D1C #281C8D #8D1C80
monochromatic
#142708 #2E5A12 #488D1C #62C026 #82DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D1C#FFFFFF#000000##000000
##488D1C1.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: #488d1c;
/* rgb */ color: rgb(72, 141, 28);
/* oklch */ color: oklch(57.6% 0.159 136.4);
Tailwind
colors: {
  custom: {
    50: '#82af62',
    500: '#488d1c',
    950: '#000000',
  },
}
SCSS
$custom: #488d1c;
$custom-light: #82af62;
$custom-dark: #000000;
JSON
{
  "hex": "#488d1c",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 96.637,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.15865,
    "h": 136.4
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#488D1C
secondary
#8F48BD
accent
#3EEAA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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