#9C9019#9C9019

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

Color values

HEX#9C9019
RGBrgb(156, 144, 25)
HSLhsl(55, 72%, 35%)
HSVhsv(55, 84%, 61%)
CMYKcmyk(0%, 7.7%, 84%, 38.8%)
CIE-LABlab(59.05, -8.09, 58.31)
CIE-LCHlch(59.05, 58.87, 97.90°)
OKLaboklab(64.43% -0.0293 0.1254)
OKLCHoklch(64.43% 0.129 103.1)
XYZxyz(23.8602, 27.0857, 4.8908)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9019 #19259C
analogous
#9C4E19 #9C9019 #669C19
triadic
#9C9019 #199C90 #90199C
tetradic
#9C9019 #199C4E #19259C #9C1966
square
#9C9019 #199C4E #19259C #9C1966
split-complementary
#9C9019 #19669C #4E199C
monochromatic
#332F08 #675F11 #9C9019 #D1C121 #E2D54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C9019#FFFFFF#000000##000000
##9C90191.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)
#A29124
Tritanopia (blue-blind)
#A9857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c9019;
/* rgb */ color: rgb(156, 144, 25);
/* oklch */ color: oklch(64.4% 0.129 103.1);
Tailwind
colors: {
  custom: {
    50: '#bdb063',
    500: '#9c9019',
    950: '#000000',
  },
}
SCSS
$custom: #9c9019;
$custom-light: #bdb063;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9019",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 54.504,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64426,
    "c": 0.12875,
    "h": 103.1
  },
  "luminance": 0.27085
}

Semantic roles & 50–950 ramp

primary
#9C9019
secondary
#4C57C4
accent
#49EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9019

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

Preview Lab → · Contrast checker → · Palette generator →

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