#939E1B#939E1B

#939E1B is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.8% C 0.144 H 114.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#939E1B
RGBrgb(147, 158, 27)
HSLhsl(65, 71%, 36%)
HSVhsv(65, 83%, 62%)
CMYKcmyk(7%, 0%, 82.9%, 38%)
CIE-LABlab(62.28, -19.41, 60.24)
CIE-LCHlch(62.28, 63.29, 107.86°)
OKLaboklab(66.82% -0.0601 0.1304)
OKLCHoklch(66.82% 0.144 114.7)
XYZxyz(24.4581, 30.7364, 5.6810)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939E1B #261B9E
analogous
#9E681B #939E1B #529E1B
triadic
#939E1B #1B939E #9E1B93
tetradic
#939E1B #1B9E68 #261B9E #9E1B52
square
#939E1B #1B9E68 #261B9E #9E1B52
split-complementary
#939E1B #1B529E #681B9E
monochromatic
#323509 #626A12 #939E1B #C4D224 #D5E152

Accessibility & contrast

On white

2.94
#939E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#939E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939E1B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939E1B#FFFFFF#000000##000000
##939E1B1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A99829
Tritanopia (blue-blind)
#9D9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939e1b;
/* rgb */ color: rgb(147, 158, 27);
/* oklch */ color: oklch(66.8% 0.144 114.7);
Tailwind
colors: {
  custom: {
    50: '#b6ba66',
    500: '#939e1b',
    950: '#000000',
  },
}
SCSS
$custom: #939e1b;
$custom-light: #b6ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#939e1b",
  "rgb": {
    "r": 147,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 65.038,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.14353,
    "h": 114.7
  },
  "luminance": 0.30736
}

Semantic roles & 50–950 ramp

primary
#939E1B
secondary
#5A51C4
accent
#3AEE49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #939E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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