#488C1A#488C1A

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

Color values

HEX#488C1A
RGBrgb(72, 140, 26)
HSLhsl(96, 69%, 33%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.6%, 0%, 81.4%, 45.1%)
CIE-LABlab(52.07, -40.94, 49.61)
CIE-LCHlch(52.07, 64.32, 129.53°)
OKLaboklab(57.32% -0.1142 0.1098)
OKLCHoklch(57.32% 0.158 136.1)
XYZxyz(12.2367, 20.2077, 4.2328)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1A #5E1A8C
analogous
#818C1A #488C1A #1A8C25
triadic
#488C1A #1A488C #8C1A48
tetradic
#488C1A #1A818C #5E1A8C #8C251A
square
#488C1A #1A818C #5E1A8C #8C251A
split-complementary
#488C1A #251A8C #8C1A81
monochromatic
#132507 #2D5810 #488C1A #63C024 #82DC44

Accessibility & contrast

On white

4.17
#488C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C1A#FFFFFF#000000##000000
##488C1A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #488c1a;
/* rgb */ color: rgb(72, 140, 26);
/* oklch */ color: oklch(57.3% 0.158 136.1);
Tailwind
colors: {
  custom: {
    50: '#82ae61',
    500: '#488c1a',
    950: '#000000',
  },
}
SCSS
$custom: #488c1a;
$custom-light: #82ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1a",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 95.789,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.15841,
    "h": 136.1
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#488C1A
secondary
#8D44BE
accent
#3CECA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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