#A89A23#A89A23

#A89A23 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.8% C 0.132 H 102.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A89A23
RGBrgb(168, 154, 35)
HSLhsl(54, 66%, 40%)
HSVhsv(54, 79%, 66%)
CMYKcmyk(0%, 8.3%, 79.2%, 34.1%)
CIE-LABlab(62.98, -7.69, 59.20)
CIE-LCHlch(62.98, 59.70, 97.40°)
OKLaboklab(67.82% -0.0279 0.1287)
OKLCHoklch(67.82% 0.132 102.2)
XYZxyz(28.0088, 31.5587, 6.2059)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89A23 #2331A8
analogous
#A85723 #A89A23 #74A823
triadic
#A89A23 #23A89A #9A23A8
tetradic
#A89A23 #23A857 #2331A8 #A82374
square
#A89A23 #23A857 #2331A8 #A82374
split-complementary
#A89A23 #2374A8 #5723A8
monochromatic
#433D0E #756C18 #A89A23 #D5C434 #DFD266

Accessibility & contrast

On white

2.87
#A89A23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A89A23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89A23
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89A23#FFFFFF#000000##000000
##A89A231.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a89a23;
/* rgb */ color: rgb(168, 154, 35);
/* oklch */ color: oklch(67.8% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#c6b769',
    500: '#a89a23',
    950: '#000000',
  },
}
SCSS
$custom: #a89a23;
$custom-light: #c6b769;
$custom-dark: #000000;
JSON
{
  "hex": "#a89a23",
  "rgb": {
    "r": 168,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 53.684,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.13168,
    "h": 102.2
  },
  "luminance": 0.31557
}

Semantic roles & 50–950 ramp

primary
#A89A23
secondary
#626CC5
accent
#51E83F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A89A23

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

Preview Lab → · Contrast checker → · Palette generator →

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