#9C9727#9C9727

#9C9727 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.128 H 106.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C9727
RGBrgb(156, 151, 39)
HSLhsl(57, 60%, 38%)
HSVhsv(57, 75%, 61%)
CMYKcmyk(0%, 3.2%, 75%, 38.8%)
CIE-LABlab(61.09, -11.30, 55.72)
CIE-LCHlch(61.09, 56.86, 101.47°)
OKLaboklab(66.07% -0.037 0.1226)
OKLCHoklch(66.07% 0.128 106.8)
XYZxyz(25.1441, 29.3485, 6.2594)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9727 #272C9C
analogous
#9C5C27 #9C9727 #669C27
triadic
#9C9727 #279C97 #97279C
tetradic
#9C9727 #279C5C #272C9C #9C2766
square
#9C9727 #279C5C #272C9C #9C2766
split-complementary
#9C9727 #27669C #5C279C
monochromatic
#3A380F #6B681B #9C9727 #CCC634 #D8D465

Accessibility & contrast

On white

3.06
#9C9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9C9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C9727
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9727#FFFFFF#000000##000000
##9C97271.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#A88D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9c9727;
/* rgb */ color: rgb(156, 151, 39);
/* oklch */ color: oklch(66.1% 0.128 106.8);
Tailwind
colors: {
  custom: {
    50: '#bdb56a',
    500: '#9c9727',
    950: '#000000',
  },
}
SCSS
$custom: #9c9727;
$custom-light: #bdb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9727",
  "rgb": {
    "r": 156,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 57.436,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66068,
    "c": 0.12805,
    "h": 106.8
  },
  "luminance": 0.29348
}

Semantic roles & 50–950 ramp

primary
#9C9727
secondary
#6165BE
accent
#4BE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9C9727

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

Preview Lab → · Contrast checker → · Palette generator →

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