#899B1F#899B1F

#899B1F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.3% C 0.142 H 118.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#899B1F
RGBrgb(137, 155, 31)
HSLhsl(69, 67%, 36%)
HSVhsv(69, 80%, 61%)
CMYKcmyk(11.6%, 0%, 80%, 39.2%)
CIE-LABlab(60.66, -22.10, 57.38)
CIE-LCHlch(60.66, 61.49, 111.07°)
OKLaboklab(65.33% -0.0667 0.1253)
OKLCHoklch(65.33% 0.142 118)
XYZxyz(22.2857, 28.8602, 5.6926)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899B1F #311F9B
analogous
#9B6F1F #899B1F #4B9B1F
triadic
#899B1F #1F899B #9B1F89
tetradic
#899B1F #1F9B6F #311F9B #9B1F4B
square
#899B1F #1F9B6F #311F9B #9B1F4B
split-complementary
#899B1F #1F4B9B #6F1F9B
monochromatic
#2F350B #5C6815 #899B1F #B6CE29 #CADD57

Accessibility & contrast

On white

3.10
#899B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#899B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899B1F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899B1F#FFFFFF#000000##000000
##899B1F1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#929284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #899b1f;
/* rgb */ color: rgb(137, 155, 31);
/* oklch */ color: oklch(65.3% 0.142 118.0);
Tailwind
colors: {
  custom: {
    50: '#afb867',
    500: '#899b1f',
    950: '#000000',
  },
}
SCSS
$custom: #899b1f;
$custom-light: #afb867;
$custom-dark: #000000;
JSON
{
  "hex": "#899b1f",
  "rgb": {
    "r": 137,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 68.71,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6533,
    "c": 0.14196,
    "h": 118
  },
  "luminance": 0.2886
}

Semantic roles & 50–950 ramp

primary
#899B1F
secondary
#6455C1
accent
#3EEA57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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