#899731#899731

#899731 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.126 H 116.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#899731
RGBrgb(137, 151, 49)
HSLhsl(68, 51%, 39%)
HSVhsv(68, 68%, 59%)
CMYKcmyk(9.3%, 0%, 67.5%, 40.8%)
CIE-LABlab(59.59, -19.12, 49.87)
CIE-LCHlch(59.59, 53.41, 110.98°)
OKLaboklab(64.51% -0.0568 0.1126)
OKLCHoklch(64.51% 0.126 116.8)
XYZxyz(21.9380, 27.6736, 7.0910)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899731 #3F3197
analogous
#977231 #899731 #569731
triadic
#899731 #318997 #973189
tetradic
#899731 #319772 #3F3197 #973156
square
#899731 #319772 #3F3197 #973156
split-complementary
#899731 #315697 #723197
monochromatic
#353B13 #5F6922 #899731 #B1C243 #C4D171

Accessibility & contrast

On white

3.21
#899731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#899731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899731
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899731#FFFFFF#000000##000000
##8997311.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#918F82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #899731;
/* rgb */ color: rgb(137, 151, 49);
/* oklch */ color: oklch(64.5% 0.126 116.8);
Tailwind
colors: {
  custom: {
    50: '#aeb56f',
    500: '#899731',
    950: '#000000',
  },
}
SCSS
$custom: #899731;
$custom-light: #aeb56f;
$custom-dark: #000000;
JSON
{
  "hex": "#899731",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 68.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.1261,
    "h": 116.8
  },
  "luminance": 0.27673
}

Semantic roles & 50–950 ramp

primary
#899731
secondary
#766BB9
accent
#4DDA61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #899731

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

Preview Lab → · Contrast checker → · Palette generator →

#899731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva