#899B22#899B22

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

Color values

HEX#899B22
RGBrgb(137, 155, 34)
HSLhsl(69, 64%, 37%)
HSVhsv(69, 78%, 61%)
CMYKcmyk(11.6%, 0%, 78.1%, 39.2%)
CIE-LABlab(60.67, -21.98, 56.47)
CIE-LCHlch(60.67, 60.59, 111.27°)
OKLaboklab(65.35% -0.0661 0.1239)
OKLCHoklch(65.35% 0.14 118.1)
XYZxyz(22.3271, 28.8768, 5.9106)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899B22 #34229B
analogous
#9B7122 #899B22 #4C9B22
triadic
#899B22 #22899B #9B2289
tetradic
#899B22 #229B71 #34229B #9B224C
square
#899B22 #229B71 #34229B #9B224C
split-complementary
#899B22 #224C9B #71229B
monochromatic
#30370C #5D6917 #899B22 #B5CD2D #C8DB5C

Accessibility & contrast

On white

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

On black

6.78
#899B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899B22
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899B22#FFFFFF#000000##000000
##899B221.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #899b22;
/* rgb */ color: rgb(137, 155, 34);
/* oklch */ color: oklch(65.3% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb868',
    500: '#899b22',
    950: '#000000',
  },
}
SCSS
$custom: #899b22;
$custom-light: #afb868;
$custom-dark: #000000;
JSON
{
  "hex": "#899b22",
  "rgb": {
    "r": 137,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 68.926,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.14045,
    "h": 118.1
  },
  "luminance": 0.28877
}

Semantic roles & 50–950 ramp

primary
#899B22
secondary
#6859C0
accent
#41E75A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899B22

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

Preview Lab → · Contrast checker → · Palette generator →

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