#899F1F#899F1F

#899F1F is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.3% C 0.147 H 119.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#899F1F
RGBrgb(137, 159, 31)
HSLhsl(70, 67%, 37%)
HSVhsv(70, 81%, 62%)
CMYKcmyk(13.8%, 0%, 80.5%, 37.6%)
CIE-LABlab(61.84, -24.10, 58.44)
CIE-LCHlch(61.84, 63.22, 112.41°)
OKLaboklab(66.28% -0.0722 0.1276)
OKLCHoklch(66.28% 0.147 119.5)
XYZxyz(22.9625, 30.2137, 5.9182)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899F1F #351F9F
analogous
#9F751F #899F1F #499F1F
triadic
#899F1F #1F899F #9F1F89
tetradic
#899F1F #1F9F75 #351F9F #9F1F49
square
#899F1F #1F9F75 #351F9F #9F1F49
split-complementary
#899F1F #1F499F #751F9F
monochromatic
#31390B #5D6C15 #899F1F #B5D229 #C8DF5A

Accessibility & contrast

On white

2.98
#899F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#899F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #899F1F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899F1F#FFFFFF#000000##000000
##899F1F1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#919688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #899f1f;
/* rgb */ color: rgb(137, 159, 31);
/* oklch */ color: oklch(66.3% 0.147 119.5);
Tailwind
colors: {
  custom: {
    50: '#afbb67',
    500: '#899f1f',
    950: '#000000',
  },
}
SCSS
$custom: #899f1f;
$custom-light: #afbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#899f1f",
  "rgb": {
    "r": 137,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 70.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.14659,
    "h": 119.5
  },
  "luminance": 0.30214
}

Semantic roles & 50–950 ramp

primary
#899F1F
secondary
#6A57C3
accent
#3EEA5B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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