#9C8F23#9C8F23

#9C8F23 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.123 H 102.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8F23
RGBrgb(156, 143, 35)
HSLhsl(54, 63%, 37%)
HSVhsv(54, 78%, 61%)
CMYKcmyk(0%, 8.3%, 77.6%, 38.8%)
CIE-LABlab(58.82, -7.19, 55.01)
CIE-LCHlch(58.82, 55.48, 97.45°)
OKLaboklab(64.26% -0.0259 0.1203)
OKLCHoklch(64.26% 0.123 102.1)
XYZxyz(23.8372, 26.8353, 5.5139)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F23 #23309C
analogous
#9C5323 #9C8F23 #6C9C23
triadic
#9C8F23 #239C8F #8F239C
tetradic
#9C8F23 #239C53 #23309C #9C236C
square
#9C8F23 #239C53 #23309C #9C236C
split-complementary
#9C8F23 #236C9C #53239C
monochromatic
#38330D #6A6118 #9C8F23 #CEBD2E #DBCE5E

Accessibility & contrast

On white

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

On black

6.37
#9C8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F23
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F23#FFFFFF#000000##000000
##9C8F231.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0A
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#A8847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8f23;
/* rgb */ color: rgb(156, 143, 35);
/* oklch */ color: oklch(64.3% 0.123 102.1);
Tailwind
colors: {
  custom: {
    50: '#bdaf67',
    500: '#9c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f23;
$custom-light: #bdaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f23",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 53.554,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64256,
    "c": 0.12303,
    "h": 102.1
  },
  "luminance": 0.26834
}

Semantic roles & 50–950 ramp

primary
#9C8F23
secondary
#5B66C0
accent
#53E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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