#899B21#899B21

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

Color values

HEX#899B21
RGBrgb(137, 155, 33)
HSLhsl(69, 65%, 37%)
HSVhsv(69, 79%, 61%)
CMYKcmyk(11.6%, 0%, 78.7%, 39.2%)
CIE-LABlab(60.67, -22.02, 56.78)
CIE-LCHlch(60.67, 60.90, 111.20°)
OKLaboklab(65.34% -0.0663 0.1244)
OKLCHoklch(65.34% 0.141 118.1)
XYZxyz(22.3129, 28.8711, 5.8358)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899B21 #33219B
analogous
#9B7021 #899B21 #4C9B21
triadic
#899B21 #21899B #9B2189
tetradic
#899B21 #219B70 #33219B #9B214C
square
#899B21 #219B70 #33219B #9B214C
split-complementary
#899B21 #214C9B #70219B
monochromatic
#30360C #5C6916 #899B21 #B6CD2C #C9DC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899B21#FFFFFF#000000##000000
##899B211.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)
#A4932D
Tritanopia (blue-blind)
#929284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #899b21;
/* rgb */ color: rgb(137, 155, 33);
/* oklch */ color: oklch(65.3% 0.141 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb867',
    500: '#899b21',
    950: '#000000',
  },
}
SCSS
$custom: #899b21;
$custom-light: #afb867;
$custom-dark: #000000;
JSON
{
  "hex": "#899b21",
  "rgb": {
    "r": 137,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 68.852,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.14096,
    "h": 118.1
  },
  "luminance": 0.28871
}

Semantic roles & 50–950 ramp

primary
#899B21
secondary
#6758C0
accent
#40E859
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899B21

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

Preview Lab → · Contrast checker → · Palette generator →

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