#A89731#A89731

#A89731 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.121 H 99.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A89731
RGBrgb(168, 151, 49)
HSLhsl(51, 55%, 43%)
HSVhsv(51, 71%, 66%)
CMYKcmyk(0%, 10.1%, 70.8%, 34.1%)
CIE-LABlab(62.24, -5.45, 53.41)
CIE-LCHlch(62.24, 53.68, 95.83°)
OKLaboklab(67.26% -0.0202 0.1191)
OKLCHoklch(67.26% 0.121 99.6)
XYZxyz(27.7707, 30.6811, 7.3644)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89731 #3142A8
analogous
#A85C31 #A89731 #7DA831
triadic
#A89731 #31A897 #9731A8
tetradic
#A89731 #31A85C #3142A8 #A8317D
square
#A89731 #31A85C #3142A8 #A8317D
split-complementary
#A89731 #317DA8 #5C31A8
monochromatic
#494215 #796C23 #A89731 #CBB84C #D8CB7B

Accessibility & contrast

On white

2.94
#A89731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A89731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89731
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89731#FFFFFF#000000##000000
##A897311.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#B58C83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a89731;
/* rgb */ color: rgb(168, 151, 49);
/* oklch */ color: oklch(67.3% 0.121 99.6);
Tailwind
colors: {
  custom: {
    50: '#c5b56f',
    500: '#a89731',
    950: '#000000',
  },
}
SCSS
$custom: #a89731;
$custom-light: #c5b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a89731",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 51.429,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67262,
    "c": 0.12079,
    "h": 99.6
  },
  "luminance": 0.3068
}

Semantic roles & 50–950 ramp

primary
#A89731
secondary
#747FC1
accent
#5FDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A89731

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

Preview Lab → · Contrast checker → · Palette generator →

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