#489A1B#489A1B

#489A1B is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.1% C 0.175 H 137.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#489A1B
RGBrgb(72, 154, 27)
HSLhsl(99, 70%, 35%)
HSVhsv(99, 82%, 60%)
CMYKcmyk(53.2%, 0%, 82.5%, 39.6%)
CIE-LABlab(56.65, -46.44, 53.55)
CIE-LCHlch(56.65, 70.89, 130.93°)
OKLaboklab(61.09% -0.1289 0.1182)
OKLCHoklch(61.09% 0.175 137.5)
XYZxyz(14.4254, 24.5670, 5.0184)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489A1B #6D1B9A
analogous
#879A1B #489A1B #1B9A2D
triadic
#489A1B #1B489A #9A1B48
tetradic
#489A1B #1B879A #6D1B9A #9A2D1B
square
#489A1B #1B879A #6D1B9A #9A2D1B
split-complementary
#489A1B #2D1B9A #9A1B87
monochromatic
#173209 #306612 #489A1B #60CE24 #83E04F

Accessibility & contrast

On white

3.55
#489A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#489A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489A1B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489A1B#FFFFFF#000000##000000
##489A1B1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#429483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #489a1b;
/* rgb */ color: rgb(72, 154, 27);
/* oklch */ color: oklch(61.1% 0.175 137.5);
Tailwind
colors: {
  custom: {
    50: '#84b864',
    500: '#489a1b',
    950: '#000000',
  },
}
SCSS
$custom: #489a1b;
$custom-light: #84b864;
$custom-dark: #000000;
JSON
{
  "hex": "#489a1b",
  "rgb": {
    "r": 72,
    "g": 154,
    "b": 27
  },
  "hsl": {
    "h": 98.74,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.17489,
    "h": 137.5
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#489A1B
secondary
#994EC3
accent
#3BEDAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #489A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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