#949221#949221

#949221 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.128 H 108.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#949221
RGBrgb(148, 146, 33)
HSLhsl(59, 64%, 35%)
HSVhsv(59, 78%, 58%)
CMYKcmyk(0%, 1.4%, 77.7%, 42%)
CIE-LABlab(58.94, -12.50, 55.53)
CIE-LCHlch(58.94, 56.92, 102.69°)
OKLaboklab(64.18% -0.0405 0.1213)
OKLCHoklch(64.18% 0.128 108.5)
XYZxyz(22.7670, 26.9642, 5.4439)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949221 #212394
analogous
#945921 #949221 #5C9421
triadic
#949221 #219492 #922194
tetradic
#949221 #219459 #212394 #94215C
square
#949221 #219459 #212394 #94215C
split-complementary
#949221 #215C94 #592194
monochromatic
#302F0B #626116 #949221 #C6C32C #D9D756

Accessibility & contrast

On white

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

On black

6.39
#949221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949221
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949221#FFFFFF#000000##000000
##9492211.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A0902A
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949221;
/* rgb */ color: rgb(148, 146, 33);
/* oklch */ color: oklch(64.2% 0.128 108.5);
Tailwind
colors: {
  custom: {
    50: '#b7b166',
    500: '#949221',
    950: '#000000',
  },
}
SCSS
$custom: #949221;
$custom-light: #b7b166;
$custom-dark: #000000;
JSON
{
  "hex": "#949221",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 58.957,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64176,
    "c": 0.12792,
    "h": 108.5
  },
  "luminance": 0.26963
}

Semantic roles & 50–950 ramp

primary
#949221
secondary
#5455BD
accent
#44E741
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949221

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

Preview Lab → · Contrast checker → · Palette generator →

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