#899A2F#899A2F

#899A2F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.131 H 118.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#899A2F
RGBrgb(137, 154, 47)
HSLhsl(70, 53%, 39%)
HSVhsv(70, 69%, 60%)
CMYKcmyk(11%, 0%, 69.5%, 39.6%)
CIE-LABlab(60.46, -20.78, 51.56)
CIE-LCHlch(60.46, 55.60, 111.95°)
OKLaboklab(65.2% -0.0616 0.1158)
OKLCHoklch(65.2% 0.131 118)
XYZxyz(22.3857, 28.6350, 7.0366)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899A2F #402F9A
analogous
#9A762F #899A2F #539A2F
triadic
#899A2F #2F899A #9A2F89
tetradic
#899A2F #2F9A76 #402F9A #9A2F53
square
#899A2F #2F9A76 #402F9A #9A2F53
split-complementary
#899A2F #2F539A #762F9A
monochromatic
#363C12 #5F6B21 #899A2F #B0C541 #C4D370

Accessibility & contrast

On white

3.12
#899A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#899A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899A2F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899A2F#FFFFFF#000000##000000
##899A2F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921F
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#919285
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #899a2f;
/* rgb */ color: rgb(137, 154, 47);
/* oklch */ color: oklch(65.2% 0.131 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb76e',
    500: '#899a2f',
    950: '#000000',
  },
}
SCSS
$custom: #899a2f;
$custom-light: #aeb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#899a2f",
  "rgb": {
    "r": 137,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 69.533,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.1312,
    "h": 118
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#899A2F
secondary
#776ABB
accent
#4BDD62
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #899A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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