#939E2B#939E2B

#939E2B is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.135 H 114.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#939E2B
RGBrgb(147, 158, 43)
HSLhsl(66, 57%, 39%)
HSVhsv(66, 73%, 62%)
CMYKcmyk(7%, 0%, 72.8%, 38%)
CIE-LABlab(62.37, -18.72, 55.24)
CIE-LCHlch(62.37, 58.33, 108.73°)
OKLaboklab(66.91% -0.0569 0.1226)
OKLCHoklch(66.91% 0.135 114.9)
XYZxyz(24.6962, 30.8316, 6.9352)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939E2B #362B9E
analogous
#9E702B #939E2B #5A9E2B
triadic
#939E2B #2B939E #9E2B93
tetradic
#939E2B #2B9E70 #362B9E #9E2B5A
square
#939E2B #2B9E70 #362B9E #9E2B5A
split-complementary
#939E2B #2B5A9E #702B9E
monochromatic
#393E11 #666E1E #939E2B #BCCA3C #CDD76C

Accessibility & contrast

On white

2.93
#939E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#939E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939E2B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939E2B#FFFFFF#000000##000000
##939E2B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#9D9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939e2b;
/* rgb */ color: rgb(147, 158, 43);
/* oklch */ color: oklch(66.9% 0.135 114.9);
Tailwind
colors: {
  custom: {
    50: '#b6ba6d',
    500: '#939e2b',
    950: '#000000',
  },
}
SCSS
$custom: #939e2b;
$custom-light: #b6ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#939e2b",
  "rgb": {
    "r": 147,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 65.739,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66914,
    "c": 0.13515,
    "h": 114.9
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#939E2B
secondary
#6F67BE
accent
#47E056
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #939E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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