#9A8A1D#9A8A1D

#9A8A1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.122 H 100.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9A8A1D
RGBrgb(154, 138, 29)
HSLhsl(52, 68%, 36%)
HSVhsv(52, 81%, 60%)
CMYKcmyk(0%, 10.4%, 81.2%, 39.6%)
CIE-LABlab(57.21, -5.62, 55.46)
CIE-LCHlch(57.21, 55.75, 95.79°)
OKLaboklab(62.92% -0.0219 0.1201)
OKLCHoklch(62.92% 0.122 100.3)
XYZxyz(22.6378, 25.1368, 4.8216)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8A1D #1D2D9A
analogous
#9A4B1D #9A8A1D #6B9A1D
triadic
#9A8A1D #1D9A8A #8A1D9A
tetradic
#9A8A1D #1D9A4B #1D2D9A #9A1D6B
square
#9A8A1D #1D9A4B #1D2D9A #9A1D6B
split-complementary
#9A8A1D #1D6B9A #4B1D9A
monochromatic
#332E0A #665C13 #9A8A1D #CEB827 #DFCD53

Accessibility & contrast

On white

3.48
#9A8A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9A8A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8A1D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8A1D#FFFFFF#000000##000000
##9A8A1D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#A77F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a8a1d;
/* rgb */ color: rgb(154, 138, 29);
/* oklch */ color: oklch(62.9% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#bcab64',
    500: '#9a8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #9a8a1d;
$custom-light: #bcab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8a1d",
  "rgb": {
    "r": 154,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 52.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62921,
    "c": 0.1221,
    "h": 100.3
  },
  "luminance": 0.25136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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