#9C8E22#9C8E22

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

Color values

HEX#9C8E22
RGBrgb(156, 142, 34)
HSLhsl(53, 64%, 37%)
HSVhsv(53, 78%, 61%)
CMYKcmyk(0%, 9%, 78.2%, 38.8%)
CIE-LABlab(58.54, -6.69, 55.09)
CIE-LCHlch(58.54, 55.50, 96.93°)
OKLaboklab(64.03% -0.0246 0.1202)
OKLCHoklch(64.03% 0.123 101.5)
XYZxyz(23.6732, 26.5305, 5.3870)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E22 #22309C
analogous
#9C5122 #9C8E22 #6D9C22
triadic
#9C8E22 #229C8E #8E229C
tetradic
#9C8E22 #229C51 #22309C #9C226D
square
#9C8E22 #229C51 #22309C #9C226D
split-complementary
#9C8E22 #226D9C #51229C
monochromatic
#38330C #6A6017 #9C8E22 #CEBC2D #DCCD5D

Accessibility & contrast

On white

3.33
#9C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E22
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E22#FFFFFF#000000##000000
##9C8E221.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e22;
/* rgb */ color: rgb(156, 142, 34);
/* oklch */ color: oklch(64.0% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#bdae67',
    500: '#9c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e22;
$custom-light: #bdae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e22",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 53.115,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.12272,
    "h": 101.5
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#9C8E22
secondary
#5A65C0
accent
#54E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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