#949D21#949D21

#949D21 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.139 H 113.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#949D21
RGBrgb(148, 157, 33)
HSLhsl(64, 65%, 37%)
HSVhsv(64, 79%, 62%)
CMYKcmyk(5.7%, 0%, 79%, 38.4%)
CIE-LABlab(62.10, -18.24, 58.39)
CIE-LCHlch(62.10, 61.18, 107.34°)
OKLaboklab(66.7% -0.0564 0.1274)
OKLCHoklch(66.7% 0.139 113.9)
XYZxyz(24.5450, 30.5202, 6.0365)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D21 #2A219D
analogous
#9D6821 #949D21 #569D21
triadic
#949D21 #21949D #9D2194
tetradic
#949D21 #219D68 #2A219D #9D2156
square
#949D21 #219D68 #2A219D #9D2156
split-complementary
#949D21 #21569D #68219D
monochromatic
#35380C #646A16 #949D21 #C4D02C #D3DD5C

Accessibility & contrast

On white

2.96
#949D21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#949D21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D21
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D21#FFFFFF#000000##000000
##949D211.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d21;
/* rgb */ color: rgb(148, 157, 33);
/* oklch */ color: oklch(66.7% 0.139 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b968',
    500: '#949d21',
    950: '#000000',
  },
}
SCSS
$custom: #949d21;
$custom-light: #b7b968;
$custom-dark: #000000;
JSON
{
  "hex": "#949d21",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 64.355,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66704,
    "c": 0.13938,
    "h": 113.9
  },
  "luminance": 0.3052
}

Semantic roles & 50–950 ramp

primary
#949D21
secondary
#6059C1
accent
#40E84C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949D21

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

Preview Lab → · Contrast checker → · Palette generator →

#949D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva