#9D911C#9D911C

#9D911C is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.128 H 103.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D911C
RGBrgb(157, 145, 28)
HSLhsl(54, 70%, 36%)
HSVhsv(54, 82%, 62%)
CMYKcmyk(0%, 7.6%, 82.2%, 38.4%)
CIE-LABlab(59.44, -8.08, 57.83)
CIE-LCHlch(59.44, 58.39, 97.95°)
OKLaboklab(64.76% -0.029 0.1249)
OKLCHoklch(64.76% 0.128 103.1)
XYZxyz(24.2408, 27.5038, 5.1303)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D911C #1C289D
analogous
#9D511C #9D911C #699D1C
triadic
#9D911C #1C9D91 #911C9D
tetradic
#9D911C #1C9D51 #1C289D #9D1C69
square
#9D911C #1C9D51 #1C289D #9D1C69
split-complementary
#9D911C #1C699D #511C9D
monochromatic
#353109 #696113 #9D911C #D1C125 #E0D353

Accessibility & contrast

On white

3.23
#9D911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9D911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D911C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D911C#FFFFFF#000000##000000
##9D911C1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#AA867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d911c;
/* rgb */ color: rgb(157, 145, 28);
/* oklch */ color: oklch(64.8% 0.128 103.1);
Tailwind
colors: {
  custom: {
    50: '#beb064',
    500: '#9d911c',
    950: '#000000',
  },
}
SCSS
$custom: #9d911c;
$custom-light: #beb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9d911c",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 54.419,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64757,
    "c": 0.12821,
    "h": 103.1
  },
  "luminance": 0.27503
}

Semantic roles & 50–950 ramp

primary
#9D911C
secondary
#515CC3
accent
#4CED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D911C

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

Preview Lab → · Contrast checker → · Palette generator →

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