#939D21#939D21

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

Color values

HEX#939D21
RGBrgb(147, 157, 33)
HSLhsl(65, 65%, 37%)
HSVhsv(65, 79%, 62%)
CMYKcmyk(6.4%, 0%, 79%, 38.4%)
CIE-LABlab(62.02, -18.68, 58.29)
CIE-LCHlch(62.02, 61.21, 107.76°)
OKLaboklab(66.62% -0.0576 0.1273)
OKLCHoklch(66.62% 0.14 114.4)
XYZxyz(24.3649, 30.4273, 6.0281)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939D21 #2B219D
analogous
#9D6921 #939D21 #559D21
triadic
#939D21 #21939D #9D2193
tetradic
#939D21 #219D69 #2B219D #9D2155
square
#939D21 #219D69 #2B219D #9D2155
split-complementary
#939D21 #21559D #69219D
monochromatic
#34380C #646A16 #939D21 #C2D02C #D2DD5C

Accessibility & contrast

On white

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

On black

7.09
#939D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939D21
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939D21#FFFFFF#000000##000000
##939D211.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #939d21;
/* rgb */ color: rgb(147, 157, 33);
/* oklch */ color: oklch(66.6% 0.140 114.4);
Tailwind
colors: {
  custom: {
    50: '#b6b968',
    500: '#939d21',
    950: '#000000',
  },
}
SCSS
$custom: #939d21;
$custom-light: #b6b968;
$custom-dark: #000000;
JSON
{
  "hex": "#939d21",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 64.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66621,
    "c": 0.13969,
    "h": 114.4
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#939D21
secondary
#6159C1
accent
#40E84D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939D21

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

Preview Lab → · Contrast checker → · Palette generator →

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