#488A1C#488A1C

#488A1C is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.155 H 136.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#488A1C
RGBrgb(72, 138, 28)
HSLhsl(96, 66%, 33%)
HSVhsv(96, 80%, 54%)
CMYKcmyk(47.8%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.43, -40.00, 48.36)
CIE-LCHlch(51.43, 62.76, 129.59°)
OKLaboklab(56.79% -0.1115 0.1075)
OKLCHoklch(56.79% 0.155 136)
XYZxyz(11.9703, 19.6377, 4.2581)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A1C #5E1C8A
analogous
#7F8A1C #488A1C #1C8A27
triadic
#488A1C #1C488A #8A1C48
tetradic
#488A1C #1C7F8A #5E1C8A #8A271C
square
#488A1C #1C7F8A #5E1C8A #8A271C
split-complementary
#488A1C #271C8A #8A1C7F
monochromatic
#132407 #2D5712 #488A1C #63BD26 #82DA47

Accessibility & contrast

On white

4.26
#488A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#488A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A1C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A1C#FFFFFF#000000##000000
##488A1C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#458576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488a1c;
/* rgb */ color: rgb(72, 138, 28);
/* oklch */ color: oklch(56.8% 0.155 136.0);
Tailwind
colors: {
  custom: {
    50: '#82ad62',
    500: '#488a1c',
    950: '#000000',
  },
}
SCSS
$custom: #488a1c;
$custom-light: #82ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#488a1c",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 96,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.1549,
    "h": 136
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#488A1C
secondary
#8D46BB
accent
#3FE9A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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