#9C7D1E#9C7D1E

#9C7D1E is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.3% C 0.113 H 89.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9C7D1E
RGBrgb(156, 125, 30)
HSLhsl(45, 68%, 36%)
HSVhsv(45, 81%, 61%)
CMYKcmyk(0%, 19.9%, 80.8%, 38.8%)
CIE-LABlab(53.85, 2.54, 52.21)
CIE-LCHlch(53.85, 52.27, 87.21°)
OKLaboklab(60.31% 0.0012 0.1132)
OKLCHoklch(60.31% 0.113 89.4)
XYZxyz(21.2796, 21.8303, 4.3209)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7D1E #1E3D9C
analogous
#9C3E1E #9C7D1E #7C9C1E
triadic
#9C7D1E #1E9C7D #7D1E9C
tetradic
#9C7D1E #1E9C3E #1E3D9C #9C1E7C
square
#9C7D1E #1E9C3E #1E3D9C #9C1E7C
split-complementary
#9C7D1E #1E7C9C #3E1E9C
monochromatic
#352B0A #695414 #9C7D1E #CFA628 #DEBD56

Accessibility & contrast

On white

3.91
#9C7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9C7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7D1E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7D1E#FFFFFF#000000##000000
##9C7D1E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#A9726B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c7d1e;
/* rgb */ color: rgb(156, 125, 30);
/* oklch */ color: oklch(60.3% 0.113 89.4);
Tailwind
colors: {
  custom: {
    50: '#bda263',
    500: '#9c7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9c7d1e;
$custom-light: #bda263;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7d1e",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 45.238,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.11322,
    "h": 89.4
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#9C7D1E
secondary
#546FC2
accent
#68EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9C7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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