#899F2F#899F2F

#899F2F is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.4% C 0.137 H 120.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#899F2F
RGBrgb(137, 159, 47)
HSLhsl(72, 54%, 40%)
HSVhsv(72, 70%, 62%)
CMYKcmyk(13.8%, 0%, 70.4%, 37.6%)
CIE-LABlab(61.93, -23.30, 53.05)
CIE-LCHlch(61.93, 57.94, 113.71°)
OKLaboklab(66.38% -0.0686 0.119)
OKLCHoklch(66.38% 0.137 120)
XYZxyz(23.2282, 30.3200, 7.3174)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899F2F #452F9F
analogous
#9F7D2F #899F2F #519F2F
triadic
#899F2F #2F899F #9F2F89
tetradic
#899F2F #2F9F7D #452F9F #9F2F51
square
#899F2F #2F9F7D #452F9F #9F2F51
split-complementary
#899F2F #2F519F #7D2F9F
monochromatic
#384113 #607021 #899F2F #AEC844 #C2D673

Accessibility & contrast

On white

2.97
#899F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#899F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #899F2F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899F2F#FFFFFF#000000##000000
##899F2F1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961D
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#919789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #899f2f;
/* rgb */ color: rgb(137, 159, 47);
/* oklch */ color: oklch(66.4% 0.137 120.0);
Tailwind
colors: {
  custom: {
    50: '#aebb6f',
    500: '#899f2f',
    950: '#000000',
  },
}
SCSS
$custom: #899f2f;
$custom-light: #aebb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#899f2f",
  "rgb": {
    "r": 137,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 71.786,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66383,
    "c": 0.13731,
    "h": 120
  },
  "luminance": 0.3032
}

Semantic roles & 50–950 ramp

primary
#899F2F
secondary
#7C6DBD
accent
#4ADE67
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #899F2F

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

Preview Lab → · Contrast checker → · Palette generator →

#899F2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva