#9C9E1E#9C9E1E

#9C9E1E is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.140 H 110.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9C9E1E
RGBrgb(156, 158, 30)
HSLhsl(61, 68%, 37%)
HSVhsv(61, 81%, 62%)
CMYKcmyk(1.3%, 0%, 81%, 38%)
CIE-LABlab(63.02, -15.33, 60.35)
CIE-LCHlch(63.02, 62.26, 104.25°)
OKLaboklab(67.6% -0.0491 0.1307)
OKLCHoklch(67.6% 0.14 110.6)
XYZxyz(26.1725, 31.6161, 5.9519)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9E1E #201E9E
analogous
#9E601E #9C9E1E #5C9E1E
triadic
#9C9E1E #1E9C9E #9E1E9C
tetradic
#9C9E1E #1E9E60 #201E9E #9E1E5C
square
#9C9E1E #1E9E60 #201E9E #9E1E5C
split-complementary
#9C9E1E #1E5C9E #601E9E
monochromatic
#36370A #696B14 #9C9E1E #CFD128 #DDDF57

Accessibility & contrast

On white

2.87
#9C9E1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9C9E1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9E1E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9E1E#FFFFFF#000000##000000
##9C9E1E1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#A79487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9e1e;
/* rgb */ color: rgb(156, 158, 30);
/* oklch */ color: oklch(67.6% 0.140 110.6);
Tailwind
colors: {
  custom: {
    50: '#bdba67',
    500: '#9c9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9c9e1e;
$custom-light: #bdba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9e1e",
  "rgb": {
    "r": 156,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 60.938,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.13963,
    "h": 110.6
  },
  "luminance": 0.31615
}

Semantic roles & 50–950 ramp

primary
#9C9E1E
secondary
#5755C3
accent
#3DEB40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9C9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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