#488A1B#488A1B

#488A1B 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#488A1B
RGBrgb(72, 138, 27)
HSLhsl(96, 67%, 32%)
HSVhsv(96, 80%, 54%)
CMYKcmyk(47.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.42, -40.06, 48.69)
CIE-LCHlch(51.42, 63.05, 129.45°)
OKLaboklab(56.79% -0.1117 0.108)
OKLCHoklch(56.79% 0.155 136)
XYZxyz(11.9585, 19.6330, 4.1961)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A1B #5D1B8A
analogous
#7F8A1B #488A1B #1B8A26
triadic
#488A1B #1B488A #8A1B48
tetradic
#488A1B #1B7F8A #5D1B8A #8A261B
square
#488A1B #1B7F8A #5D1B8A #8A261B
split-complementary
#488A1B #261B8A #8A1B7F
monochromatic
#132407 #2D5711 #488A1B #63BD25 #82DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488A1B#FFFFFF#000000##000000
##488A1B1.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)
#458575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #488a1b;
/* rgb */ color: rgb(72, 138, 27);
/* oklch */ color: oklch(56.8% 0.155 136.0);
Tailwind
colors: {
  custom: {
    50: '#82ad61',
    500: '#488a1b',
    950: '#000000',
  },
}
SCSS
$custom: #488a1b;
$custom-light: #82ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#488a1b",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 95.676,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.15542,
    "h": 136
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#488A1B
secondary
#8C45BC
accent
#3EEAA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #488A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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