#9C8E23#9C8E23

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

Color values

HEX#9C8E23
RGBrgb(156, 142, 35)
HSLhsl(53, 63%, 37%)
HSVhsv(53, 78%, 61%)
CMYKcmyk(0%, 9%, 77.6%, 38.8%)
CIE-LABlab(58.54, -6.65, 54.75)
CIE-LCHlch(58.54, 55.15, 96.93°)
OKLaboklab(64.04% -0.0244 0.1197)
OKLCHoklch(64.04% 0.122 101.5)
XYZxyz(23.6878, 26.5364, 5.4641)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E23 #23319C
analogous
#9C5223 #9C8E23 #6D9C23
triadic
#9C8E23 #239C8E #8E239C
tetradic
#9C8E23 #239C52 #23319C #9C236D
square
#9C8E23 #239C52 #23319C #9C236D
split-complementary
#9C8E23 #236D9C #52239C
monochromatic
#38330D #6A6118 #9C8E23 #CEBC2E #DBCD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E23#FFFFFF#000000##000000
##9C8E231.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)
#9C8A0B
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e23;
/* rgb */ color: rgb(156, 142, 35);
/* oklch */ color: oklch(64.0% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#bdae67',
    500: '#9c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e23;
$custom-light: #bdae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e23",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 53.058,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64035,
    "c": 0.12217,
    "h": 101.5
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#9C8E23
secondary
#5B67C0
accent
#55E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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