#899E1F#899E1F

#899E1F is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.0% C 0.145 H 119.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#899E1F
RGBrgb(137, 158, 31)
HSLhsl(70, 67%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(13.3%, 0%, 80.4%, 38%)
CIE-LABlab(61.54, -23.60, 58.18)
CIE-LCHlch(61.54, 62.79, 112.08°)
OKLaboklab(66.04% -0.0708 0.127)
OKLCHoklch(66.04% 0.145 119.1)
XYZxyz(22.7912, 29.8712, 5.8611)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899E1F #341F9E
analogous
#9E741F #899E1F #4A9E1F
triadic
#899E1F #1F899E #9E1F89
tetradic
#899E1F #1F9E74 #341F9E #9E1F4A
square
#899E1F #1F9E74 #341F9E #9E1F4A
split-complementary
#899E1F #1F4A9E #741F9E
monochromatic
#30380B #5D6B15 #899E1F #B5D129 #C8DE59

Accessibility & contrast

On white

3.01
#899E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#899E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899E1F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899E1F#FFFFFF#000000##000000
##899E1F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#929587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #899e1f;
/* rgb */ color: rgb(137, 158, 31);
/* oklch */ color: oklch(66.0% 0.145 119.1);
Tailwind
colors: {
  custom: {
    50: '#afba67',
    500: '#899e1f',
    950: '#000000',
  },
}
SCSS
$custom: #899e1f;
$custom-light: #afba67;
$custom-dark: #000000;
JSON
{
  "hex": "#899e1f",
  "rgb": {
    "r": 137,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 69.921,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.14542,
    "h": 119.1
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

primary
#899E1F
secondary
#6856C2
accent
#3EEA5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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