#A89D1F#A89D1F

#A89D1F is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.136 H 104.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A89D1F
RGBrgb(168, 157, 31)
HSLhsl(55, 69%, 39%)
HSVhsv(55, 82%, 66%)
CMYKcmyk(0%, 6.5%, 81.5%, 34.1%)
CIE-LABlab(63.79, -9.42, 61.13)
CIE-LCHlch(63.79, 61.85, 98.76°)
OKLaboklab(68.46% -0.0331 0.1321)
OKLCHoklch(68.46% 0.136 104.1)
XYZxyz(28.4541, 32.5389, 6.0779)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89D1F #1F2AA8
analogous
#A8581F #A89D1F #6FA81F
triadic
#A89D1F #1FA89D #9D1FA8
tetradic
#A89D1F #1FA858 #1F2AA8 #A81F6F
square
#A89D1F #1FA858 #1F2AA8 #A81F6F
split-complementary
#A89D1F #1F6FA8 #581FA8
monochromatic
#413C0C #746D15 #A89D1F #D8CA2C #E2D760

Accessibility & contrast

On white

2.80
#A89D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#A89D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89D1F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89D1F#FFFFFF#000000##000000
##A89D1F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AF9D2A
Tritanopia (blue-blind)
#B59186
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a89d1f;
/* rgb */ color: rgb(168, 157, 31);
/* oklch */ color: oklch(68.5% 0.136 104.1);
Tailwind
colors: {
  custom: {
    50: '#c6b968',
    500: '#a89d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a89d1f;
$custom-light: #c6b968;
$custom-dark: #000000;
JSON
{
  "hex": "#a89d1f",
  "rgb": {
    "r": 168,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 55.182,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.13615,
    "h": 104.1
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#A89D1F
secondary
#5D65C6
accent
#4AEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A89D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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