#939D1B#939D1B

#939D1B is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.6% C 0.142 H 114.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#939D1B
RGBrgb(147, 157, 27)
HSLhsl(65, 71%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(6.4%, 0%, 82.8%, 38.4%)
CIE-LABlab(61.99, -18.90, 59.99)
CIE-LCHlch(61.99, 62.89, 107.48°)
OKLaboklab(66.59% -0.0587 0.1298)
OKLCHoklch(66.59% 0.142 114.3)
XYZxyz(24.2882, 30.3966, 5.6244)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D1B #251B9D
analogous
#9D661B #939D1B #529D1B
triadic
#939D1B #1B939D #9D1B93
tetradic
#939D1B #1B9D66 #251B9D #9D1B52
square
#939D1B #1B9D66 #251B9D #9D1B52
split-complementary
#939D1B #1B529D #661B9D
monochromatic
#313509 #626912 #939D1B #C4D124 #D6E151

Accessibility & contrast

On white

2.97
#939D1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#939D1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939D1B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939D1B#FFFFFF#000000##000000
##939D1B1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#9D9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #939d1b;
/* rgb */ color: rgb(147, 157, 27);
/* oklch */ color: oklch(66.6% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b6b965',
    500: '#939d1b',
    950: '#000000',
  },
}
SCSS
$custom: #939d1b;
$custom-light: #b6b965;
$custom-dark: #000000;
JSON
{
  "hex": "#939d1b",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 64.615,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.14245,
    "h": 114.3
  },
  "luminance": 0.30396
}

Semantic roles & 50–950 ramp

primary
#939D1B
secondary
#5950C4
accent
#3AED48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939D1B

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

Preview Lab → · Contrast checker → · Palette generator →

#939D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva