#489D1F#489D1F

#489D1F is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.9% C 0.177 H 138.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#489D1F
RGBrgb(72, 157, 31)
HSLhsl(100, 67%, 37%)
HSVhsv(100, 80%, 62%)
CMYKcmyk(54.1%, 0%, 80.3%, 38.4%)
CIE-LABlab(57.65, -47.38, 53.29)
CIE-LCHlch(57.65, 71.30, 131.64°)
OKLaboklab(61.92% -0.1311 0.1183)
OKLCHoklch(61.92% 0.177 138)
XYZxyz(14.9763, 25.5894, 5.4461)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489D1F #741F9D
analogous
#879D1F #489D1F #1F9D35
triadic
#489D1F #1F489D #9D1F48
tetradic
#489D1F #1F879D #741F9D #9D351F
square
#489D1F #1F879D #741F9D #9D351F
split-complementary
#489D1F #351F9D #9D1F87
monochromatic
#19370B #316A15 #489D1F #5FD029 #84DE58

Accessibility & contrast

On white

3.43
#489D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#489D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489D1F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489D1F#FFFFFF#000000##000000
##489D1F1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#419786
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #489d1f;
/* rgb */ color: rgb(72, 157, 31);
/* oklch */ color: oklch(61.9% 0.177 138.0);
Tailwind
colors: {
  custom: {
    50: '#84bb66',
    500: '#489d1f',
    950: '#000000',
  },
}
SCSS
$custom: #489d1f;
$custom-light: #84bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#489d1f",
  "rgb": {
    "r": 72,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 100.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61919,
    "c": 0.1766,
    "h": 138
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#489D1F
secondary
#9F56C2
accent
#3EEAB2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #489D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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