#9C8B23#9C8B23

#9C8B23 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.120 H 99.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C8B23
RGBrgb(156, 139, 35)
HSLhsl(52, 63%, 37%)
HSVhsv(52, 78%, 61%)
CMYKcmyk(0%, 10.9%, 77.6%, 38.8%)
CIE-LABlab(57.71, -5.02, 53.98)
CIE-LCHlch(57.71, 54.21, 95.31°)
OKLaboklab(63.37% -0.0197 0.1181)
OKLCHoklch(63.37% 0.12 99.5)
XYZxyz(23.2474, 25.6557, 5.3173)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B23 #23349C
analogous
#9C4E23 #9C8B23 #719C23
triadic
#9C8B23 #239C8B #8B239C
tetradic
#9C8B23 #239C4E #23349C #9C2371
square
#9C8B23 #239C4E #23349C #9C2371
split-complementary
#9C8B23 #23719C #4E239C
monochromatic
#38320D #6A5E18 #9C8B23 #CEB82E #DBC95E

Accessibility & contrast

On white

3.43
#9C8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9C8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B23
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B23#FFFFFF#000000##000000
##9C8B231.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870D
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#A98077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b23;
/* rgb */ color: rgb(156, 139, 35);
/* oklch */ color: oklch(63.4% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#bdac67',
    500: '#9c8b23',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b23;
$custom-light: #bdac67;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b23",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 51.57,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63373,
    "c": 0.11972,
    "h": 99.5
  },
  "luminance": 0.25655
}

Semantic roles & 50–950 ramp

primary
#9C8B23
secondary
#5B69C0
accent
#59E641
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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