#9A891D#9A891D

#9A891D is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.121 H 99.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9A891D
RGBrgb(154, 137, 29)
HSLhsl(52, 68%, 36%)
HSVhsv(52, 81%, 60%)
CMYKcmyk(0%, 11%, 81.2%, 39.6%)
CIE-LABlab(56.93, -5.07, 55.22)
CIE-LCHlch(56.93, 55.45, 95.25°)
OKLaboklab(62.7% -0.0204 0.1196)
OKLCHoklch(62.7% 0.121 99.7)
XYZxyz(22.4950, 24.8512, 4.7740)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A891D #1D2E9A
analogous
#9A4A1D #9A891D #6C9A1D
triadic
#9A891D #1D9A89 #891D9A
tetradic
#9A891D #1D9A4A #1D2E9A #9A1D6C
square
#9A891D #1D9A4A #1D2E9A #9A1D6C
split-complementary
#9A891D #1D6C9A #4A1D9A
monochromatic
#332D0A #665B13 #9A891D #CEB727 #DFCC53

Accessibility & contrast

On white

3.52
#9A891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9A891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A891D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A891D#FFFFFF#000000##000000
##9A891D1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#A77E75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a891d;
/* rgb */ color: rgb(154, 137, 29);
/* oklch */ color: oklch(62.7% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#bcab64',
    500: '#9a891d',
    950: '#000000',
  },
}
SCSS
$custom: #9a891d;
$custom-light: #bcab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a891d",
  "rgb": {
    "r": 154,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 51.84,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.627,
    "c": 0.12131,
    "h": 99.7
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#9A891D
secondary
#5160C2
accent
#54EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A891D

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

Preview Lab → · Contrast checker → · Palette generator →

#9A891D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva