#938016#938016

#938016 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.118 H 98.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#938016
RGBrgb(147, 128, 22)
HSLhsl(51, 74%, 33%)
HSVhsv(51, 85%, 58%)
CMYKcmyk(0%, 12.9%, 85%, 42.4%)
CIE-LABlab(53.71, -3.58, 54.26)
CIE-LCHlch(53.71, 54.38, 93.77°)
OKLaboklab(59.97% -0.0164 0.1164)
OKLCHoklch(59.97% 0.118 98)
XYZxyz(19.8977, 21.7004, 3.8994)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938016 #162993
analogous
#934116 #938016 #679316
triadic
#938016 #169380 #801693
tetradic
#938016 #169341 #162993 #931667
square
#938016 #169341 #162993 #931667
split-complementary
#938016 #166793 #411693
monochromatic
#292306 #5E520E #938016 #C8AE1E #E3CA41

Accessibility & contrast

On white

3.93
#938016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#938016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938016
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938016#FFFFFF#000000##000000
##9380161.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#93831F
Tritanopia (blue-blind)
#9F756D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #938016;
/* rgb */ color: rgb(147, 128, 22);
/* oklch */ color: oklch(60.0% 0.118 98.0);
Tailwind
colors: {
  custom: {
    50: '#b7a45f',
    500: '#938016',
    950: '#000000',
  },
}
SCSS
$custom: #938016;
$custom-light: #b7a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#938016",
  "rgb": {
    "r": 147,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 50.88,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.11759,
    "h": 98
  },
  "luminance": 0.21699
}

Semantic roles & 50–950 ramp

primary
#938016
secondary
#4255C3
accent
#53F137
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #938016

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

Preview Lab → · Contrast checker → · Palette generator →

#938016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva