#939921#939921

#939921 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.7% C 0.135 H 112.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#939921
RGBrgb(147, 153, 33)
HSLhsl(63, 65%, 36%)
HSVhsv(63, 78%, 60%)
CMYKcmyk(3.9%, 0%, 78.4%, 40%)
CIE-LABlab(60.87, -16.62, 57.25)
CIE-LCHlch(60.87, 59.61, 106.19°)
OKLaboklab(65.7% -0.0519 0.125)
OKLCHoklch(65.7% 0.135 112.5)
XYZxyz(23.6992, 29.0959, 5.8062)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939921 #272199
analogous
#996321 #939921 #579921
triadic
#939921 #219399 #992193
tetradic
#939921 #219963 #272199 #992157
square
#939921 #219963 #272199 #992157
split-complementary
#939921 #215799 #632199
monochromatic
#32340B #636716 #939921 #C3CB2C #D5DB59

Accessibility & contrast

On white

3.08
#939921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#939921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939921
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939921#FFFFFF#000000##000000
##9399211.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#9D8F83
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #939921;
/* rgb */ color: rgb(147, 153, 33);
/* oklch */ color: oklch(65.7% 0.135 112.5);
Tailwind
colors: {
  custom: {
    50: '#b6b667',
    500: '#939921',
    950: '#000000',
  },
}
SCSS
$custom: #939921;
$custom-light: #b6b667;
$custom-dark: #000000;
JSON
{
  "hex": "#939921",
  "rgb": {
    "r": 147,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 63,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.13538,
    "h": 112.5
  },
  "luminance": 0.29095
}

Semantic roles & 50–950 ramp

primary
#939921
secondary
#5C56BF
accent
#40E849
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939921

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

Preview Lab → · Contrast checker → · Palette generator →

#939921 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva