#A89931#A89931

#A89931 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.122 H 100.9°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A89931
RGBrgb(168, 153, 49)
HSLhsl(52, 55%, 43%)
HSVhsv(52, 71%, 66%)
CMYKcmyk(0%, 8.9%, 70.8%, 34.1%)
CIE-LABlab(62.79, -6.52, 53.95)
CIE-LCHlch(62.79, 54.35, 96.89°)
OKLaboklab(67.7% -0.0232 0.1203)
OKLCHoklch(67.7% 0.122 100.9)
XYZxyz(28.0953, 31.3303, 7.4726)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89931 #3140A8
analogous
#A85D31 #A89931 #7BA831
triadic
#A89931 #31A899 #9931A8
tetradic
#A89931 #31A85D #3140A8 #A8317B
square
#A89931 #31A85D #3140A8 #A8317B
split-complementary
#A89931 #317BA8 #5D31A8
monochromatic
#494315 #796E23 #A89931 #CBBB4C #D8CD7B

Accessibility & contrast

On white

2.89
#A89931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#A89931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89931
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89931#FFFFFF#000000##000000
##A899311.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79521
Deuteranopia (green-blind)
#AC9A37
Tritanopia (blue-blind)
#B58E84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a89931;
/* rgb */ color: rgb(168, 153, 49);
/* oklch */ color: oklch(67.7% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#c5b670',
    500: '#a89931',
    950: '#000000',
  },
}
SCSS
$custom: #a89931;
$custom-light: #c5b670;
$custom-dark: #000000;
JSON
{
  "hex": "#a89931",
  "rgb": {
    "r": 168,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 52.437,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67696,
    "c": 0.12247,
    "h": 100.9
  },
  "luminance": 0.31329
}

Semantic roles & 50–950 ramp

primary
#A89931
secondary
#747EC1
accent
#5CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A89931

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

Preview Lab → · Contrast checker → · Palette generator →

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