#9C901F#9C901F

#9C901F is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.126 H 102.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C901F
RGBrgb(156, 144, 31)
HSLhsl(54, 67%, 37%)
HSVhsv(54, 80%, 61%)
CMYKcmyk(0%, 7.7%, 80.1%, 38.8%)
CIE-LABlab(59.08, -7.89, 56.57)
CIE-LCHlch(59.08, 57.11, 97.94°)
OKLaboklab(64.46% -0.0282 0.1228)
OKLCHoklch(64.46% 0.126 102.9)
XYZxyz(23.9320, 27.1144, 5.2691)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C901F #1F2B9C
analogous
#9C521F #9C901F #6A9C1F
triadic
#9C901F #1F9C90 #901F9C
tetradic
#9C901F #1F9C52 #1F2B9C #9C1F6A
square
#9C901F #1F9C52 #1F2B9C #9C1F6A
split-complementary
#9C901F #1F6A9C #521F9C
monochromatic
#36320B #696115 #9C901F #CFBF29 #DED158

Accessibility & contrast

On white

3.27
#9C901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9C901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C901F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C901F#FFFFFF#000000##000000
##9C901F1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c901f;
/* rgb */ color: rgb(156, 144, 31);
/* oklch */ color: oklch(64.5% 0.126 102.9);
Tailwind
colors: {
  custom: {
    50: '#bdb065',
    500: '#9c901f',
    950: '#000000',
  },
}
SCSS
$custom: #9c901f;
$custom-light: #bdb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9c901f",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 54.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.126,
    "h": 102.9
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#9C901F
secondary
#5560C1
accent
#4FEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C901F

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

Preview Lab → · Contrast checker → · Palette generator →

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