#939D1F#939D1F

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

Color values

HEX#939D1F
RGBrgb(147, 157, 31)
HSLhsl(65, 67%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(6.4%, 0%, 80.3%, 38.4%)
CIE-LABlab(62.01, -18.75, 58.89)
CIE-LCHlch(62.01, 61.80, 107.66°)
OKLaboklab(66.61% -0.058 0.1282)
OKLCHoklch(66.61% 0.141 114.3)
XYZxyz(24.3377, 30.4164, 5.8849)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D1F #291F9D
analogous
#9D681F #939D1F #549D1F
triadic
#939D1F #1F939D #9D1F93
tetradic
#939D1F #1F9D68 #291F9D #9D1F54
square
#939D1F #1F9D68 #291F9D #9D1F54
split-complementary
#939D1F #1F549D #681F9D
monochromatic
#33370B #636A15 #939D1F #C3D029 #D3DE58

Accessibility & contrast

On white

2.96
#939D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##939D1F#FFFFFF#000000##000000
##939D1F1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #939d1f;
/* rgb */ color: rgb(147, 157, 31);
/* oklch */ color: oklch(66.6% 0.141 114.3);
Tailwind
colors: {
  custom: {
    50: '#b6b967',
    500: '#939d1f',
    950: '#000000',
  },
}
SCSS
$custom: #939d1f;
$custom-light: #b6b967;
$custom-dark: #000000;
JSON
{
  "hex": "#939d1f",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 64.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6661,
    "c": 0.14067,
    "h": 114.3
  },
  "luminance": 0.30416
}

Semantic roles & 50–950 ramp

primary
#939D1F
secondary
#5E56C2
accent
#3EEA4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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