#899D1C#899D1C

#899D1C is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.8% C 0.146 H 118.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#899D1C
RGBrgb(137, 157, 28)
HSLhsl(69, 70%, 36%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12.7%, 0%, 82.2%, 38.4%)
CIE-LABlab(61.23, -23.22, 58.76)
CIE-LCHlch(61.23, 63.18, 111.56°)
OKLaboklab(65.79% -0.07 0.1277)
OKLCHoklch(65.79% 0.146 118.7)
XYZxyz(22.5836, 29.5163, 5.6059)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899D1C #301C9D
analogous
#9D711C #899D1C #499D1C
triadic
#899D1C #1C899D #9D1C89
tetradic
#899D1C #1C9D71 #301C9D #9D1C49
square
#899D1C #1C9D71 #301C9D #9D1C49
split-complementary
#899D1C #1C499D #711C9D
monochromatic
#2E3509 #5C6913 #899D1C #B6D125 #CAE053

Accessibility & contrast

On white

3.04
#899D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#899D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899D1C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899D1C#FFFFFF#000000##000000
##899D1C1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#929486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #899d1c;
/* rgb */ color: rgb(137, 157, 28);
/* oklch */ color: oklch(65.8% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#afb966',
    500: '#899d1c',
    950: '#000000',
  },
}
SCSS
$custom: #899d1c;
$custom-light: #afb966;
$custom-dark: #000000;
JSON
{
  "hex": "#899d1c",
  "rgb": {
    "r": 137,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 69.302,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6579,
    "c": 0.14565,
    "h": 118.7
  },
  "luminance": 0.29516
}

Semantic roles & 50–950 ramp

primary
#899D1C
secondary
#6351C3
accent
#3BED57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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