#939D1A#939D1A

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

Color values

HEX#939D1A
RGBrgb(147, 157, 26)
HSLhsl(65, 72%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(6.4%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.99, -18.93, 60.25)
CIE-LCHlch(61.99, 63.15, 107.44°)
OKLaboklab(66.59% -0.0588 0.1302)
OKLCHoklch(66.59% 0.143 114.3)
XYZxyz(24.2768, 30.3921, 5.5645)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D1A #241A9D
analogous
#9D651A #939D1A #519D1A
triadic
#939D1A #1A939D #9D1A93
tetradic
#939D1A #1A9D65 #241A9D #9D1A51
square
#939D1A #1A9D65 #241A9D #9D1A51
split-complementary
#939D1A #1A519D #651A9D
monochromatic
#313409 #626811 #939D1A #C4D223 #D7E24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##939D1A#FFFFFF#000000##000000
##939D1A1.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: #939d1a;
/* rgb */ color: rgb(147, 157, 26);
/* oklch */ color: oklch(66.6% 0.143 114.3);
Tailwind
colors: {
  custom: {
    50: '#b6b965',
    500: '#939d1a',
    950: '#000000',
  },
}
SCSS
$custom: #939d1a;
$custom-light: #b6b965;
$custom-dark: #000000;
JSON
{
  "hex": "#939d1a",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 64.58,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66587,
    "c": 0.14286,
    "h": 114.3
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#939D1A
secondary
#574EC4
accent
#39EE47
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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