#9C8B27#9C8B27

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

Color values

HEX#9C8B27
RGBrgb(156, 139, 39)
HSLhsl(51, 60%, 38%)
HSVhsv(51, 75%, 61%)
CMYKcmyk(0%, 10.9%, 75%, 38.8%)
CIE-LABlab(57.73, -4.84, 52.54)
CIE-LCHlch(57.73, 52.76, 95.26°)
OKLaboklab(63.4% -0.0188 0.1158)
OKLCHoklch(63.4% 0.117 99.2)
XYZxyz(23.3103, 25.6808, 5.6481)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B27 #27389C
analogous
#9C5027 #9C8B27 #729C27
triadic
#9C8B27 #279C8B #8B279C
tetradic
#9C8B27 #279C50 #27389C #9C2772
square
#9C8B27 #279C50 #27389C #9C2772
split-complementary
#9C8B27 #27729C #50279C
monochromatic
#3A340F #6B5F1B #9C8B27 #CCB634 #D8C865

Accessibility & contrast

On white

3.42
#9C8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9C8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B27
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B27#FFFFFF#000000##000000
##9C8B271.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b27;
/* rgb */ color: rgb(156, 139, 39);
/* oklch */ color: oklch(63.4% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#bdac69',
    500: '#9c8b27',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b27;
$custom-light: #bdac69;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b27",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 51.282,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.634,
    "c": 0.11733,
    "h": 99.2
  },
  "luminance": 0.2568
}

Semantic roles & 50–950 ramp

primary
#9C8B27
secondary
#616EBE
accent
#5CE345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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