#9C9121#9C9121

#9C9121 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.126 H 103.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9C9121
RGBrgb(156, 145, 33)
HSLhsl(55, 65%, 37%)
HSVhsv(55, 79%, 61%)
CMYKcmyk(0%, 7.1%, 78.8%, 38.8%)
CIE-LABlab(59.37, -8.35, 56.18)
CIE-LCHlch(59.37, 56.80, 98.46°)
OKLaboklab(64.69% -0.0293 0.1224)
OKLCHoklch(64.69% 0.126 103.5)
XYZxyz(24.1113, 27.4296, 5.4629)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9121 #212C9C
analogous
#9C5421 #9C9121 #6A9C21
triadic
#9C9121 #219C91 #91219C
tetradic
#9C9121 #219C54 #212C9C #9C216A
square
#9C9121 #219C54 #212C9C #9C216A
split-complementary
#9C9121 #216A9C #54219C
monochromatic
#37330C #696216 #9C9121 #CFC02C #DCD15B

Accessibility & contrast

On white

3.24
#9C9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#9C9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9121
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9121#FFFFFF#000000##000000
##9C91211.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C04
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A8867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c9121;
/* rgb */ color: rgb(156, 145, 33);
/* oklch */ color: oklch(64.7% 0.126 103.5);
Tailwind
colors: {
  custom: {
    50: '#bdb066',
    500: '#9c9121',
    950: '#000000',
  },
}
SCSS
$custom: #9c9121;
$custom-light: #bdb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9121",
  "rgb": {
    "r": 156,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 54.634,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64689,
    "c": 0.12585,
    "h": 103.5
  },
  "luminance": 0.27429
}

Semantic roles & 50–950 ramp

primary
#9C9121
secondary
#5862C1
accent
#4FE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9121

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

Preview Lab → · Contrast checker → · Palette generator →

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