#488C1B#488C1B

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

Color values

HEX#488C1B
RGBrgb(72, 140, 27)
HSLhsl(96, 68%, 33%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.6%, 0%, 80.7%, 45.1%)
CIE-LABlab(52.08, -40.88, 49.30)
CIE-LCHlch(52.08, 64.05, 129.67°)
OKLaboklab(57.33% -0.1139 0.1093)
OKLCHoklch(57.33% 0.158 136.2)
XYZxyz(12.2481, 20.2122, 4.2927)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488C1B #5F1B8C
analogous
#818C1B #488C1B #1B8C26
triadic
#488C1B #1B488C #8C1B48
tetradic
#488C1B #1B818C #5F1B8C #8C261B
square
#488C1B #1B818C #5F1B8C #8C261B
split-complementary
#488C1B #261B8C #8C1B81
monochromatic
#132507 #2E5911 #488C1B #62BF25 #82DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488C1B#FFFFFF#000000##000000
##488C1B1.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)
#887A28
Tritanopia (blue-blind)
#458777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #488c1b;
/* rgb */ color: rgb(72, 140, 27);
/* oklch */ color: oklch(57.3% 0.158 136.2);
Tailwind
colors: {
  custom: {
    50: '#82ae62',
    500: '#488c1b',
    950: '#000000',
  },
}
SCSS
$custom: #488c1b;
$custom-light: #82ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#488c1b",
  "rgb": {
    "r": 72,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 96.106,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.15791,
    "h": 136.2
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#488C1B
secondary
#8E46BD
accent
#3DEBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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