#A89B1F#A89B1F

#A89B1F is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.0% C 0.134 H 103.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A89B1F
RGBrgb(168, 155, 31)
HSLhsl(54, 69%, 39%)
HSVhsv(54, 82%, 66%)
CMYKcmyk(0%, 7.7%, 81.5%, 34.1%)
CIE-LABlab(63.23, -8.36, 60.65)
CIE-LCHlch(63.23, 61.22, 97.85°)
OKLaboklab(68.02% -0.0301 0.131)
OKLCHoklch(68.02% 0.134 103)
XYZxyz(28.1185, 31.8677, 5.9660)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89B1F #1F2CA8
analogous
#A8571F #A89B1F #71A81F
triadic
#A89B1F #1FA89B #9B1FA8
tetradic
#A89B1F #1FA857 #1F2CA8 #A81F71
square
#A89B1F #1FA857 #1F2CA8 #A81F71
split-complementary
#A89B1F #1F71A8 #571FA8
monochromatic
#413C0C #746B15 #A89B1F #D8C82C #E2D560

Accessibility & contrast

On white

2.85
#A89B1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A89B1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89B1F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89B1F#FFFFFF#000000##000000
##A89B1F1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#B58F84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a89b1f;
/* rgb */ color: rgb(168, 155, 31);
/* oklch */ color: oklch(68.0% 0.134 103.0);
Tailwind
colors: {
  custom: {
    50: '#c6b867',
    500: '#a89b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a89b1f;
$custom-light: #c6b867;
$custom-dark: #000000;
JSON
{
  "hex": "#a89b1f",
  "rgb": {
    "r": 168,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 54.307,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6802,
    "c": 0.13444,
    "h": 103
  },
  "luminance": 0.31866
}

Semantic roles & 50–950 ramp

primary
#A89B1F
secondary
#5D67C6
accent
#4DEC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A89B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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