#9D811C#9D811C

#9D811C is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.117 H 92.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9D811C
RGBrgb(157, 129, 28)
HSLhsl(47, 70%, 36%)
HSVhsv(47, 82%, 62%)
CMYKcmyk(0%, 17.8%, 82.2%, 38.4%)
CIE-LABlab(55.02, 0.69, 53.97)
CIE-LCHlch(55.02, 53.97, 89.26°)
OKLaboklab(61.26% -0.0043 0.1165)
OKLCHoklch(61.26% 0.117 92.1)
XYZxyz(21.9658, 22.9538, 4.3720)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D811C #1C389D
analogous
#9D411C #9D811C #799D1C
triadic
#9D811C #1C9D81 #811C9D
tetradic
#9D811C #1C9D41 #1C389D #9D1C79
square
#9D811C #1C9D41 #1C389D #9D1C79
split-complementary
#9D811C #1C799D #411C9D
monochromatic
#352C09 #695613 #9D811C #D1AC25 #E0C253

Accessibility & contrast

On white

3.76
#9D811C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9D811C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D811C
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D811C#FFFFFF#000000##000000
##9D811C1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#AA766E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d811c;
/* rgb */ color: rgb(157, 129, 28);
/* oklch */ color: oklch(61.3% 0.117 92.1);
Tailwind
colors: {
  custom: {
    50: '#bea562',
    500: '#9d811c',
    950: '#000000',
  },
}
SCSS
$custom: #9d811c;
$custom-light: #bea562;
$custom-dark: #000000;
JSON
{
  "hex": "#9d811c",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 46.977,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.1166,
    "h": 92.1
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#9D811C
secondary
#516AC3
accent
#62ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D811C

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

Preview Lab → · Contrast checker → · Palette generator →

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