#488C1C#488C1C

#488C1C 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#488C1C
RGBrgb(72, 140, 28)
HSLhsl(96, 67%, 33%)
HSVhsv(96, 80%, 55%)
CMYKcmyk(48.6%, 0%, 80%, 45.1%)
CIE-LABlab(52.08, -40.83, 48.99)
CIE-LCHlch(52.08, 63.77, 129.81°)
OKLaboklab(57.33% -0.1137 0.1088)
OKLCHoklch(57.33% 0.157 136.3)
XYZxyz(12.2598, 20.2169, 4.3546)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1C #601C8C
analogous
#808C1C #488C1C #1C8C28
triadic
#488C1C #1C488C #8C1C48
tetradic
#488C1C #1C808C #601C8C #8C281C
square
#488C1C #1C808C #601C8C #8C281C
split-complementary
#488C1C #281C8C #8C1C80
monochromatic
#142608 #2E5912 #488C1C #62BF26 #82DA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C1C#FFFFFF#000000##000000
##488C1C1.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: #488c1c;
/* rgb */ color: rgb(72, 140, 28);
/* oklch */ color: oklch(57.3% 0.157 136.3);
Tailwind
colors: {
  custom: {
    50: '#82ae62',
    500: '#488c1c',
    950: '#000000',
  },
}
SCSS
$custom: #488c1c;
$custom-light: #82ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1c",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 96.429,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.1574,
    "h": 136.3
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#488C1C
secondary
#8E48BC
accent
#3EEAA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #488C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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