#9D962E#9D962E

#9D962E is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.122 H 105.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D962E
RGBrgb(157, 150, 46)
HSLhsl(56, 55%, 40%)
HSVhsv(56, 71%, 62%)
CMYKcmyk(0%, 4.5%, 70.7%, 38.4%)
CIE-LABlab(60.94, -9.98, 52.98)
CIE-LCHlch(60.94, 53.91, 100.67°)
OKLaboklab(65.98% -0.0327 0.118)
OKLCHoklch(65.98% 0.122 105.5)
XYZxyz(25.3051, 29.1790, 6.8834)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D962E #2E359D
analogous
#9D5E2E #9D962E #6D9D2E
triadic
#9D962E #2E9D96 #962E9D
tetradic
#9D962E #2E9D5E #2E359D #9D2E6D
square
#9D962E #2E9D5E #2E359D #9D2E6D
split-complementary
#9D962E #2E6D9D #5E2E9D
monochromatic
#3E3C12 #6E6920 #9D962E #C7BF41 #D5CF70

Accessibility & contrast

On white

3.07
#9D962E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9D962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D962E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D962E#FFFFFF#000000##000000
##9D962E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911E
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d962e;
/* rgb */ color: rgb(157, 150, 46);
/* oklch */ color: oklch(66.0% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#bdb46e',
    500: '#9d962e',
    950: '#000000',
  },
}
SCSS
$custom: #9d962e;
$custom-light: #bdb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d962e",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 56.216,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65984,
    "c": 0.12248,
    "h": 105.5
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

primary
#9D962E
secondary
#6A6FBD
accent
#53DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D962E

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

Preview Lab → · Contrast checker → · Palette generator →

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