#9C9023#9C9023

#9C9023 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.124 H 102.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9C9023
RGBrgb(156, 144, 35)
HSLhsl(54, 63%, 37%)
HSVhsv(54, 78%, 61%)
CMYKcmyk(0%, 7.7%, 77.6%, 38.8%)
CIE-LABlab(59.10, -7.73, 55.27)
CIE-LCHlch(59.10, 55.80, 97.97°)
OKLaboklab(64.48% -0.0274 0.1208)
OKLCHoklch(64.48% 0.124 102.8)
XYZxyz(23.9880, 27.1368, 5.5642)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9023 #232F9C
analogous
#9C5423 #9C9023 #6B9C23
triadic
#9C9023 #239C90 #90239C
tetradic
#9C9023 #239C54 #232F9C #9C236B
square
#9C9023 #239C54 #232F9C #9C236B
split-complementary
#9C9023 #236B9C #54239C
monochromatic
#38340D #6A6218 #9C9023 #CEBE2E #DBCF5E

Accessibility & contrast

On white

3.27
#9C9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#9C9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9023
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9023#FFFFFF#000000##000000
##9C90231.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0A
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#A8857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c9023;
/* rgb */ color: rgb(156, 144, 35);
/* oklch */ color: oklch(64.5% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#bdb067',
    500: '#9c9023',
    950: '#000000',
  },
}
SCSS
$custom: #9c9023;
$custom-light: #bdb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9023",
  "rgb": {
    "r": 156,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 54.05,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.12389,
    "h": 102.8
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#9C9023
secondary
#5B65C0
accent
#52E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C9023

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

Preview Lab → · Contrast checker → · Palette generator →

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