#899A1F#899A1F

#899A1F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.1% C 0.141 H 117.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#899A1F
RGBrgb(137, 154, 31)
HSLhsl(68, 66%, 36%)
HSVhsv(68, 80%, 60%)
CMYKcmyk(11%, 0%, 79.9%, 39.6%)
CIE-LABlab(60.36, -21.60, 57.12)
CIE-LCHlch(60.36, 61.07, 110.72°)
OKLaboklab(65.09% -0.0653 0.1248)
OKLCHoklch(65.09% 0.141 117.6)
XYZxyz(22.1200, 28.5287, 5.6374)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899A1F #301F9A
analogous
#9A6E1F #899A1F #4C9A1F
triadic
#899A1F #1F899A #9A1F89
tetradic
#899A1F #1F9A6E #301F9A #9A1F4C
square
#899A1F #1F9A6E #301F9A #9A1F4C
split-complementary
#899A1F #1F4C9A #6E1F9A
monochromatic
#2E340A #5C6715 #899A1F #B6CD29 #CADD56

Accessibility & contrast

On white

3.13
#899A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#899A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899A1F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899A1F#FFFFFF#000000##000000
##899A1F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#929183
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #899a1f;
/* rgb */ color: rgb(137, 154, 31);
/* oklch */ color: oklch(65.1% 0.141 117.6);
Tailwind
colors: {
  custom: {
    50: '#afb766',
    500: '#899a1f',
    950: '#000000',
  },
}
SCSS
$custom: #899a1f;
$custom-light: #afb766;
$custom-dark: #000000;
JSON
{
  "hex": "#899a1f",
  "rgb": {
    "r": 137,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 68.293,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.14082,
    "h": 117.6
  },
  "luminance": 0.28528
}

Semantic roles & 50–950 ramp

primary
#899A1F
secondary
#6354C1
accent
#3EE956
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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