#489C1B#489C1B

#489C1B is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.6% C 0.177 H 137.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#489C1B
RGBrgb(72, 156, 27)
HSLhsl(99, 70%, 36%)
HSVhsv(99, 83%, 61%)
CMYKcmyk(53.8%, 0%, 82.7%, 38.8%)
CIE-LABlab(57.30, -47.21, 54.15)
CIE-LCHlch(57.30, 71.84, 131.08°)
OKLaboklab(61.63% -0.1309 0.1195)
OKLCHoklch(61.63% 0.177 137.6)
XYZxyz(14.7583, 25.2326, 5.1294)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489C1B #6F1B9C
analogous
#889C1B #489C1B #1B9C2E
triadic
#489C1B #1B489C #9C1B48
tetradic
#489C1B #1B889C #6F1B9C #9C2E1B
square
#489C1B #1B889C #6F1B9C #9C2E1B
split-complementary
#489C1B #2E1B9C #9C1B88
monochromatic
#183409 #306812 #489C1B #60D024 #83E151

Accessibility & contrast

On white

3.47
#489C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#489C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489C1B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489C1B#FFFFFF#000000##000000
##489C1B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#429685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #489c1b;
/* rgb */ color: rgb(72, 156, 27);
/* oklch */ color: oklch(61.6% 0.177 137.6);
Tailwind
colors: {
  custom: {
    50: '#84ba64',
    500: '#489c1b',
    950: '#000000',
  },
}
SCSS
$custom: #489c1b;
$custom-light: #84ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#489c1b",
  "rgb": {
    "r": 72,
    "g": 156,
    "b": 27
  },
  "hsl": {
    "h": 99.07,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.17727,
    "h": 137.6
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#489C1B
secondary
#9B4FC3
accent
#3BEDAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #489C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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