#9A901F#9A901F

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

Color values

HEX#9A901F
RGBrgb(154, 144, 31)
HSLhsl(55, 66%, 36%)
HSVhsv(55, 80%, 60%)
CMYKcmyk(0%, 6.5%, 79.9%, 39.6%)
CIE-LABlab(58.90, -8.80, 56.33)
CIE-LCHlch(58.90, 57.02, 98.88°)
OKLaboklab(64.27% -0.0307 0.1224)
OKLCHoklch(64.27% 0.126 104.1)
XYZxyz(23.5481, 26.9165, 5.2511)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A901F #1F299A
analogous
#9A531F #9A901F #679A1F
triadic
#9A901F #1F9A90 #901F9A
tetradic
#9A901F #1F9A53 #1F299A #9A1F67
square
#9A901F #1F9A53 #1F299A #9A1F67
split-complementary
#9A901F #1F679A #531F9A
monochromatic
#34310A #676015 #9A901F #CDC029 #DDD256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A901F#FFFFFF#000000##000000
##9A901F1.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)
#A19028
Tritanopia (blue-blind)
#A6857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a901f;
/* rgb */ color: rgb(154, 144, 31);
/* oklch */ color: oklch(64.3% 0.126 104.1);
Tailwind
colors: {
  custom: {
    50: '#bcb065',
    500: '#9a901f',
    950: '#000000',
  },
}
SCSS
$custom: #9a901f;
$custom-light: #bcb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9a901f",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 55.122,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.12617,
    "h": 104.1
  },
  "luminance": 0.26915
}

Semantic roles & 50–950 ramp

primary
#9A901F
secondary
#545DC1
accent
#4CE93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9A901F

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

Preview Lab → · Contrast checker → · Palette generator →

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