#9C8D19#9C8D19

#9C8D19 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.126 H 101.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9C8D19
RGBrgb(156, 141, 25)
HSLhsl(53, 72%, 35%)
HSVhsv(53, 84%, 61%)
CMYKcmyk(0%, 9.6%, 84%, 38.8%)
CIE-LABlab(58.22, -6.47, 57.60)
CIE-LCHlch(58.22, 57.96, 96.41°)
OKLaboklab(63.76% -0.0247 0.1238)
OKLCHoklch(63.76% 0.126 101.3)
XYZxyz(23.4118, 26.1890, 4.7413)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D19 #19289C
analogous
#9C4C19 #9C8D19 #699C19
triadic
#9C8D19 #199C8D #8D199C
tetradic
#9C8D19 #199C4C #19289C #9C1969
square
#9C8D19 #199C4C #19289C #9C1969
split-complementary
#9C8D19 #19699C #4C199C
monochromatic
#332E08 #675D11 #9C8D19 #D1BD21 #E2D14D

Accessibility & contrast

On white

3.37
#9C8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9C8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D19
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D19#FFFFFF#000000##000000
##9C8D191.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A08F23
Tritanopia (blue-blind)
#A98278
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d19;
/* rgb */ color: rgb(156, 141, 25);
/* oklch */ color: oklch(63.8% 0.126 101.3);
Tailwind
colors: {
  custom: {
    50: '#bdad63',
    500: '#9c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d19;
$custom-light: #bdad63;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d19",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 53.13,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6376,
    "c": 0.12627,
    "h": 101.3
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#9C8D19
secondary
#4C5AC4
accent
#4EEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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