#899D1F#899D1F

#899D1F is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.8% C 0.144 H 118.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#899D1F
RGBrgb(137, 157, 31)
HSLhsl(70, 67%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(12.7%, 0%, 80.3%, 38.4%)
CIE-LABlab(61.25, -23.11, 57.91)
CIE-LCHlch(61.25, 62.35, 111.75°)
OKLaboklab(65.81% -0.0694 0.1265)
OKLCHoklch(65.81% 0.144 118.8)
XYZxyz(22.6213, 29.5314, 5.8045)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899D1F #331F9D
analogous
#9D721F #899D1F #4A9D1F
triadic
#899D1F #1F899D #9D1F89
tetradic
#899D1F #1F9D72 #331F9D #9D1F4A
square
#899D1F #1F9D72 #331F9D #9D1F4A
split-complementary
#899D1F #1F4A9D #721F9D
monochromatic
#30370B #5C6A15 #899D1F #B6D029 #C9DE58

Accessibility & contrast

On white

3.04
#899D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#899D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899D1F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899D1F#FFFFFF#000000##000000
##899D1F1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A6942C
Tritanopia (blue-blind)
#929486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #899d1f;
/* rgb */ color: rgb(137, 157, 31);
/* oklch */ color: oklch(65.8% 0.144 118.8);
Tailwind
colors: {
  custom: {
    50: '#afb967',
    500: '#899d1f',
    950: '#000000',
  },
}
SCSS
$custom: #899d1f;
$custom-light: #afb967;
$custom-dark: #000000;
JSON
{
  "hex": "#899d1f",
  "rgb": {
    "r": 137,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 69.524,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.14427,
    "h": 118.8
  },
  "luminance": 0.29531
}

Semantic roles & 50–950 ramp

primary
#899D1F
secondary
#6756C2
accent
#3EEA59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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