#9C8E19#9C8E19

#9C8E19 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.127 H 101.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C8E19
RGBrgb(156, 142, 25)
HSLhsl(54, 72%, 35%)
HSVhsv(54, 84%, 61%)
CMYKcmyk(0%, 9%, 84%, 38.8%)
CIE-LABlab(58.49, -7.01, 57.83)
CIE-LCHlch(58.49, 58.26, 96.91°)
OKLaboklab(63.98% -0.0262 0.1243)
OKLCHoklch(63.98% 0.127 101.9)
XYZxyz(23.5599, 26.4852, 4.7907)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E19 #19279C
analogous
#9C4C19 #9C8E19 #689C19
triadic
#9C8E19 #199C8E #8E199C
tetradic
#9C8E19 #199C4C #19279C #9C1968
square
#9C8E19 #199C4C #19279C #9C1968
split-complementary
#9C8E19 #19689C #4C199C
monochromatic
#332E08 #675E11 #9C8E19 #D1BE21 #E2D24D

Accessibility & contrast

On white

3.34
#9C8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9C8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E19
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E19#FFFFFF#000000##000000
##9C8E191.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A08F23
Tritanopia (blue-blind)
#A98379
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e19;
/* rgb */ color: rgb(156, 142, 25);
/* oklch */ color: oklch(64.0% 0.127 101.9);
Tailwind
colors: {
  custom: {
    50: '#bdae63',
    500: '#9c8e19',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e19;
$custom-light: #bdae63;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e19",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 53.588,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.12708,
    "h": 101.9
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#9C8E19
secondary
#4C59C4
accent
#4CEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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