#9C8F19#9C8F19

#9C8F19 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.128 H 102.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C8F19
RGBrgb(156, 143, 25)
HSLhsl(54, 72%, 35%)
HSVhsv(54, 84%, 61%)
CMYKcmyk(0%, 8.3%, 84%, 38.8%)
CIE-LABlab(58.77, -7.55, 58.07)
CIE-LCHlch(58.77, 58.56, 97.41°)
OKLaboklab(64.2% -0.0278 0.1249)
OKLCHoklch(64.2% 0.128 102.5)
XYZxyz(23.7094, 26.7841, 4.8405)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F19 #19269C
analogous
#9C4D19 #9C8F19 #679C19
triadic
#9C8F19 #199C8F #8F199C
tetradic
#9C8F19 #199C4D #19269C #9C1967
square
#9C8F19 #199C4D #19269C #9C1967
split-complementary
#9C8F19 #19679C #4D199C
monochromatic
#332E08 #675F11 #9C8F19 #D1BF21 #E2D44D

Accessibility & contrast

On white

3.30
#9C8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9C8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F19
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F19#FFFFFF#000000##000000
##9C8F191.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A19024
Tritanopia (blue-blind)
#A9847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8f19;
/* rgb */ color: rgb(156, 143, 25);
/* oklch */ color: oklch(64.2% 0.128 102.5);
Tailwind
colors: {
  custom: {
    50: '#bdaf63',
    500: '#9c8f19',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f19;
$custom-light: #bdaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f19",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 54.046,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64203,
    "c": 0.12791,
    "h": 102.5
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#9C8F19
secondary
#4C58C4
accent
#4BEF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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