#937A16#937A16

#937A16 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.7% C 0.114 H 93.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#937A16
RGBrgb(147, 122, 22)
HSLhsl(48, 74%, 33%)
HSVhsv(48, 85%, 58%)
CMYKcmyk(0%, 17%, 85%, 42.4%)
CIE-LABlab(52.04, -0.22, 52.85)
CIE-LCHlch(52.04, 52.85, 90.24°)
OKLaboklab(58.66% -0.0069 0.1134)
OKLCHoklch(58.66% 0.114 93.5)
XYZxyz(19.1381, 20.1812, 3.6462)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937A16 #162F93
analogous
#933B16 #937A16 #6D9316
triadic
#937A16 #16937A #7A1693
tetradic
#937A16 #16933B #162F93 #93166D
square
#937A16 #16933B #162F93 #93166D
split-complementary
#937A16 #166D93 #3B1693
monochromatic
#292206 #5E4E0E #937A16 #C8A61E #E3C241

Accessibility & contrast

On white

4.17
#937A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#937A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937A16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937A16#FFFFFF#000000##000000
##937A161.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8F7F1E
Tritanopia (blue-blind)
#A06F68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #937a16;
/* rgb */ color: rgb(147, 122, 22);
/* oklch */ color: oklch(58.7% 0.114 93.5);
Tailwind
colors: {
  custom: {
    50: '#b7a05e',
    500: '#937a16',
    950: '#000000',
  },
}
SCSS
$custom: #937a16;
$custom-light: #b7a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#937a16",
  "rgb": {
    "r": 147,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 48,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.11356,
    "h": 93.5
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#937A16
secondary
#425CC3
accent
#5CF137
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #937A16

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

Preview Lab → · Contrast checker → · Palette generator →

#937A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva