#939222#939222

#939222 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.1% C 0.128 H 109.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#939222
RGBrgb(147, 146, 34)
HSLhsl(59, 62%, 35%)
HSVhsv(59, 77%, 58%)
CMYKcmyk(0%, 0.7%, 76.9%, 42.4%)
CIE-LABlab(58.86, -12.91, 55.09)
CIE-LCHlch(58.86, 56.58, 103.19°)
OKLaboklab(64.09% -0.0415 0.1206)
OKLCHoklch(64.09% 0.128 109)
XYZxyz(22.6011, 26.8770, 5.5103)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939222 #222393
analogous
#935922 #939222 #5B9322
triadic
#939222 #229392 #922293
tetradic
#939222 #229359 #222393 #93225B
square
#939222 #229359 #222393 #93225B
split-complementary
#939222 #225B93 #592293
monochromatic
#302F0B #616117 #939222 #C5C32D #D8D757

Accessibility & contrast

On white

3.29
#939222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#939222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939222
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939222#FFFFFF#000000##000000
##9392221.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C06
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#9E887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #939222;
/* rgb */ color: rgb(147, 146, 34);
/* oklch */ color: oklch(64.1% 0.128 109.0);
Tailwind
colors: {
  custom: {
    50: '#b6b167',
    500: '#939222',
    950: '#000000',
  },
}
SCSS
$custom: #939222;
$custom-light: #b6b167;
$custom-dark: #000000;
JSON
{
  "hex": "#939222",
  "rgb": {
    "r": 147,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 59.469,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.12757,
    "h": 109
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#939222
secondary
#5555BC
accent
#44E542
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #939222

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

Preview Lab → · Contrast checker → · Palette generator →

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