#939D1C#939D1C

#939D1C 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#939D1C
RGBrgb(147, 157, 28)
HSLhsl(65, 70%, 36%)
HSVhsv(65, 82%, 62%)
CMYKcmyk(6.4%, 0%, 82.2%, 38.4%)
CIE-LABlab(62.00, -18.86, 59.72)
CIE-LCHlch(62.00, 62.63, 107.53°)
OKLaboklab(66.6% -0.0585 0.1294)
OKLCHoklch(66.6% 0.142 114.3)
XYZxyz(24.3000, 30.4013, 5.6863)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D1C #261C9D
analogous
#9D671C #939D1C #539D1C
triadic
#939D1C #1C939D #9D1C93
tetradic
#939D1C #1C9D67 #261C9D #9D1C53
square
#939D1C #1C9D67 #261C9D #9D1C53
split-complementary
#939D1C #1C539D #671C9D
monochromatic
#323509 #626913 #939D1C #C4D125 #D5E053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##939D1C#FFFFFF#000000##000000
##939D1C1.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)
#A99729
Tritanopia (blue-blind)
#9D9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #939d1c;
/* rgb */ color: rgb(147, 157, 28);
/* oklch */ color: oklch(66.6% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b6b966',
    500: '#939d1c',
    950: '#000000',
  },
}
SCSS
$custom: #939d1c;
$custom-light: #b6b966;
$custom-dark: #000000;
JSON
{
  "hex": "#939d1c",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 64.651,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66596,
    "c": 0.14203,
    "h": 114.3
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#939D1C
secondary
#5A51C3
accent
#3BED49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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