#9A901D#9A901D

#9A901D is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.127 H 104.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9A901D
RGBrgb(154, 144, 29)
HSLhsl(55, 68%, 36%)
HSVhsv(55, 81%, 60%)
CMYKcmyk(0%, 6.5%, 81.2%, 39.6%)
CIE-LABlab(58.89, -8.87, 56.94)
CIE-LCHlch(58.89, 57.63, 98.85°)
OKLaboklab(64.26% -0.031 0.1233)
OKLCHoklch(64.26% 0.127 104.1)
XYZxyz(23.5225, 26.9062, 5.1165)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A901D #1D279A
analogous
#9A511D #9A901D #659A1D
triadic
#9A901D #1D9A90 #901D9A
tetradic
#9A901D #1D9A51 #1D279A #9A1D65
square
#9A901D #1D9A51 #1D279A #9A1D65
split-complementary
#9A901D #1D659A #511D9A
monochromatic
#33300A #666013 #9A901D #CEC027 #DFD353

Accessibility & contrast

On white

3.29
#9A901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9A901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A901D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A901D#FFFFFF#000000##000000
##9A901D1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a901d;
/* rgb */ color: rgb(154, 144, 29);
/* oklch */ color: oklch(64.3% 0.127 104.1);
Tailwind
colors: {
  custom: {
    50: '#bcb065',
    500: '#9a901d',
    950: '#000000',
  },
}
SCSS
$custom: #9a901d;
$custom-light: #bcb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9a901d",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 55.2,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.12715,
    "h": 104.1
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#9A901D
secondary
#515AC2
accent
#4BEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A901D

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

Preview Lab → · Contrast checker → · Palette generator →

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