#9C8E27#9C8E27

#9C8E27 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.120 H 101.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8E27
RGBrgb(156, 142, 39)
HSLhsl(53, 60%, 38%)
HSVhsv(53, 75%, 61%)
CMYKcmyk(0%, 9%, 75%, 38.8%)
CIE-LABlab(58.57, -6.48, 53.33)
CIE-LCHlch(58.57, 53.72, 96.92°)
OKLaboklab(64.06% -0.0235 0.1175)
OKLCHoklch(64.06% 0.12 101.3)
XYZxyz(23.7506, 26.5615, 5.7949)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E27 #27359C
analogous
#9C5427 #9C8E27 #6F9C27
triadic
#9C8E27 #279C8E #8E279C
tetradic
#9C8E27 #279C54 #27359C #9C276F
square
#9C8E27 #279C54 #27359C #9C276F
split-complementary
#9C8E27 #276F9C #54279C
monochromatic
#3A350F #6B611B #9C8E27 #CCBA34 #D8CB65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8E27#FFFFFF#000000##000000
##9C8E271.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)
#9C8A14
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e27;
/* rgb */ color: rgb(156, 142, 39);
/* oklch */ color: oklch(64.1% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#bdae69',
    500: '#9c8e27',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e27;
$custom-light: #bdae69;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e27",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 52.821,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.11982,
    "h": 101.3
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#9C8E27
secondary
#616CBE
accent
#58E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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