#899E1B#899E1B

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

Color values

HEX#899E1B
RGBrgb(137, 158, 27)
HSLhsl(70, 71%, 36%)
HSVhsv(70, 83%, 62%)
CMYKcmyk(13.3%, 0%, 82.9%, 38%)
CIE-LABlab(61.53, -23.76, 59.29)
CIE-LCHlch(61.53, 63.87, 111.84°)
OKLaboklab(66.02% -0.0715 0.1287)
OKLCHoklch(66.02% 0.147 119.1)
XYZxyz(22.7417, 29.8514, 5.6005)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899E1B #301B9E
analogous
#9E721B #899E1B #489E1B
triadic
#899E1B #1B899E #9E1B89
tetradic
#899E1B #1B9E72 #301B9E #9E1B48
square
#899E1B #1B9E72 #301B9E #9E1B48
split-complementary
#899E1B #1B489E #721B9E
monochromatic
#2E3509 #5C6A12 #899E1B #B6D224 #CAE152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899E1B#FFFFFF#000000##000000
##899E1B1.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)
#A69529
Tritanopia (blue-blind)
#929587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #899e1b;
/* rgb */ color: rgb(137, 158, 27);
/* oklch */ color: oklch(66.0% 0.147 119.1);
Tailwind
colors: {
  custom: {
    50: '#afba65',
    500: '#899e1b',
    950: '#000000',
  },
}
SCSS
$custom: #899e1b;
$custom-light: #afba65;
$custom-dark: #000000;
JSON
{
  "hex": "#899e1b",
  "rgb": {
    "r": 137,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 69.618,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66023,
    "c": 0.14723,
    "h": 119.1
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#899E1B
secondary
#6351C4
accent
#3AEE57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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