#939B21#939B21

#939B21 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.138 H 113.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#939B21
RGBrgb(147, 155, 33)
HSLhsl(64, 65%, 37%)
HSVhsv(64, 79%, 61%)
CMYKcmyk(5.2%, 0%, 78.7%, 39.2%)
CIE-LABlab(61.44, -17.65, 57.77)
CIE-LCHlch(61.44, 60.41, 106.99°)
OKLaboklab(66.16% -0.0548 0.1262)
OKLCHoklch(66.16% 0.138 113.5)
XYZxyz(24.0292, 29.7561, 5.9162)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939B21 #29219B
analogous
#9B6621 #939B21 #569B21
triadic
#939B21 #21939B #9B2193
tetradic
#939B21 #219B66 #29219B #9B2156
square
#939B21 #219B66 #29219B #9B2156
split-complementary
#939B21 #21569B #66219B
monochromatic
#33360C #636916 #939B21 #C3CD2C #D3DC5A

Accessibility & contrast

On white

3.02
#939B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#939B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939B21
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939B21#FFFFFF#000000##000000
##939B211.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#9D9184
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #939b21;
/* rgb */ color: rgb(147, 155, 33);
/* oklch */ color: oklch(66.2% 0.138 113.5);
Tailwind
colors: {
  custom: {
    50: '#b6b868',
    500: '#939b21',
    950: '#000000',
  },
}
SCSS
$custom: #939b21;
$custom-light: #b6b868;
$custom-dark: #000000;
JSON
{
  "hex": "#939b21",
  "rgb": {
    "r": 147,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 63.934,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66157,
    "c": 0.13753,
    "h": 113.5
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

primary
#939B21
secondary
#5E58C0
accent
#40E84B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939B21

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

Preview Lab → · Contrast checker → · Palette generator →

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