#489222#489222

#489222 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.0% C 0.162 H 137.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#489222
RGBrgb(72, 146, 34)
HSLhsl(100, 62%, 35%)
HSVhsv(100, 77%, 57%)
CMYKcmyk(50.7%, 0%, 76.7%, 42.7%)
CIE-LABlab(54.08, -42.88, 48.87)
CIE-LCHlch(54.08, 65.01, 131.27°)
OKLaboklab(58.99% -0.1189 0.1095)
OKLCHoklch(58.99% 0.162 137.4)
XYZxyz(13.2397, 22.0500, 5.0715)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489222 #6C2292
analogous
#809222 #489222 #229234
triadic
#489222 #224892 #922248
tetradic
#489222 #228092 #6C2292 #923422
square
#489222 #228092 #6C2292 #923422
split-complementary
#489222 #342292 #922280
monochromatic
#172F0B #306016 #489222 #60C42E #82D857

Accessibility & contrast

On white

3.88
#489222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#489222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489222
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489222#FFFFFF#000000##000000
##4892221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#438D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #489222;
/* rgb */ color: rgb(72, 146, 34);
/* oklch */ color: oklch(59.0% 0.162 137.4);
Tailwind
colors: {
  custom: {
    50: '#83b266',
    500: '#489222',
    950: '#000000',
  },
}
SCSS
$custom: #489222;
$custom-light: #83b266;
$custom-dark: #000000;
JSON
{
  "hex": "#489222",
  "rgb": {
    "r": 72,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 99.643,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.16162,
    "h": 137.4
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

primary
#489222
secondary
#9954BC
accent
#43E5AE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #489222

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

Preview Lab → · Contrast checker → · Palette generator →

#489222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva