#949E21#949E21

#949E21 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.9% C 0.140 H 114.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#949E21
RGBrgb(148, 158, 33)
HSLhsl(65, 65%, 37%)
HSVhsv(65, 79%, 62%)
CMYKcmyk(6.3%, 0%, 79.1%, 38%)
CIE-LABlab(62.39, -18.75, 58.65)
CIE-LCHlch(62.39, 61.58, 107.73°)
OKLaboklab(66.94% -0.0579 0.128)
OKLCHoklch(66.94% 0.14 114.3)
XYZxyz(24.7149, 30.8599, 6.0932)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E21 #2B219E
analogous
#9E6A21 #949E21 #569E21
triadic
#949E21 #21949E #9E2194
tetradic
#949E21 #219E6A #2B219E #9E2156
square
#949E21 #219E6A #2B219E #9E2156
split-complementary
#949E21 #21569E #6A219E
monochromatic
#35390C #656B16 #949E21 #C3D12C #D3DD5C

Accessibility & contrast

On white

2.93
#949E21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#949E21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E21
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E21#FFFFFF#000000##000000
##949E211.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e21;
/* rgb */ color: rgb(148, 158, 33);
/* oklch */ color: oklch(66.9% 0.140 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba68',
    500: '#949e21',
    950: '#000000',
  },
}
SCSS
$custom: #949e21;
$custom-light: #b7ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#949e21",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 64.8,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.14046,
    "h": 114.3
  },
  "luminance": 0.30859
}

Semantic roles & 50–950 ramp

primary
#949E21
secondary
#6259C1
accent
#3FE84D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949E21

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

Preview Lab → · Contrast checker → · Palette generator →

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