#949921#949921

#949921 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.8% C 0.135 H 112.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#949921
RGBrgb(148, 153, 33)
HSLhsl(63, 65%, 36%)
HSVhsv(63, 78%, 60%)
CMYKcmyk(3.3%, 0%, 78.4%, 40%)
CIE-LABlab(60.95, -16.17, 57.35)
CIE-LCHlch(60.95, 59.59, 105.75°)
OKLaboklab(65.78% -0.0507 0.1252)
OKLCHoklch(65.78% 0.135 112.1)
XYZxyz(23.8793, 29.1888, 5.8146)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949921 #262199
analogous
#996221 #949921 #589921
triadic
#949921 #219499 #992194
tetradic
#949921 #219962 #262199 #992158
square
#949921 #219962 #262199 #992158
split-complementary
#949921 #215899 #622199
monochromatic
#33340B #636716 #949921 #C5CB2C #D6DB59

Accessibility & contrast

On white

3.07
#949921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#949921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949921
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949921#FFFFFF#000000##000000
##9499211.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949921;
/* rgb */ color: rgb(148, 153, 33);
/* oklch */ color: oklch(65.8% 0.135 112.1);
Tailwind
colors: {
  custom: {
    50: '#b7b667',
    500: '#949921',
    950: '#000000',
  },
}
SCSS
$custom: #949921;
$custom-light: #b7b667;
$custom-dark: #000000;
JSON
{
  "hex": "#949921",
  "rgb": {
    "r": 148,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 62.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6578,
    "c": 0.13511,
    "h": 112.1
  },
  "luminance": 0.29188
}

Semantic roles & 50–950 ramp

primary
#949921
secondary
#5B56BF
accent
#40E847
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949921

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

Preview Lab → · Contrast checker → · Palette generator →

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