#949B21#949B21

#949B21 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.137 H 113.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#949B21
RGBrgb(148, 155, 33)
HSLhsl(63, 65%, 37%)
HSVhsv(63, 79%, 61%)
CMYKcmyk(4.5%, 0%, 78.7%, 39.2%)
CIE-LABlab(61.52, -17.21, 57.87)
CIE-LCHlch(61.52, 60.38, 106.56°)
OKLaboklab(66.24% -0.0536 0.1263)
OKLCHoklch(66.24% 0.137 113)
XYZxyz(24.2094, 29.8489, 5.9247)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B21 #28219B
analogous
#9B6521 #949B21 #579B21
triadic
#949B21 #21949B #9B2194
tetradic
#949B21 #219B65 #28219B #9B2157
square
#949B21 #219B65 #28219B #9B2157
split-complementary
#949B21 #21579B #65219B
monochromatic
#34360C #646916 #949B21 #C4CD2C #D5DC5A

Accessibility & contrast

On white

3.01
#949B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#949B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B21
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B21#FFFFFF#000000##000000
##949B211.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#9E9184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b21;
/* rgb */ color: rgb(148, 155, 33);
/* oklch */ color: oklch(66.2% 0.137 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b868',
    500: '#949b21',
    950: '#000000',
  },
}
SCSS
$custom: #949b21;
$custom-light: #b7b868;
$custom-dark: #000000;
JSON
{
  "hex": "#949b21",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 63.443,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.13723,
    "h": 113
  },
  "luminance": 0.29848
}

Semantic roles & 50–950 ramp

primary
#949B21
secondary
#5E58C0
accent
#40E84A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949B21

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

Preview Lab → · Contrast checker → · Palette generator →

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