#949222#949222

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

Color values

HEX#949222
RGBrgb(148, 146, 34)
HSLhsl(59, 63%, 36%)
HSVhsv(59, 77%, 58%)
CMYKcmyk(0%, 1.4%, 77%, 42%)
CIE-LABlab(58.95, -12.46, 55.20)
CIE-LCHlch(58.95, 56.59, 102.72°)
OKLaboklab(64.18% -0.0403 0.1208)
OKLCHoklch(64.18% 0.127 108.5)
XYZxyz(22.7812, 26.9699, 5.5187)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949222 #222494
analogous
#945922 #949222 #5D9422
triadic
#949222 #229492 #922294
tetradic
#949222 #229459 #222494 #94225D
square
#949222 #229459 #222494 #94225D
split-complementary
#949222 #225D94 #592294
monochromatic
#30300B #626117 #949222 #C6C32D #D9D658

Accessibility & contrast

On white

3.28
#949222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##949222#FFFFFF#000000##000000
##9492221.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949222;
/* rgb */ color: rgb(148, 146, 34);
/* oklch */ color: oklch(64.2% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b7b167',
    500: '#949222',
    950: '#000000',
  },
}
SCSS
$custom: #949222;
$custom-light: #b7b167;
$custom-dark: #000000;
JSON
{
  "hex": "#949222",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 58.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.12737,
    "h": 108.5
  },
  "luminance": 0.26969
}

Semantic roles & 50–950 ramp

primary
#949222
secondary
#5557BD
accent
#45E642
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949222

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

Preview Lab → · Contrast checker → · Palette generator →

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