#949F21#949F21

#949F21 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.142 H 114.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#949F21
RGBrgb(148, 159, 33)
HSLhsl(65, 66%, 38%)
HSVhsv(65, 79%, 62%)
CMYKcmyk(6.9%, 0%, 79.2%, 37.6%)
CIE-LABlab(62.68, -19.26, 58.91)
CIE-LCHlch(62.68, 61.98, 108.10°)
OKLaboklab(67.17% -0.0593 0.1285)
OKLCHoklch(67.17% 0.142 114.8)
XYZxyz(24.8861, 31.2024, 6.1503)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F21 #2C219F
analogous
#9F6B21 #949F21 #559F21
triadic
#949F21 #21949F #9F2194
tetradic
#949F21 #219F6B #2C219F #9F2155
square
#949F21 #219F6B #2C219F #9F2155
split-complementary
#949F21 #21559F #6B219F
monochromatic
#363A0C #656C16 #949F21 #C3D22C #D2DD5D

Accessibility & contrast

On white

2.90
#949F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#949F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F21
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F21#FFFFFF#000000##000000
##949F211.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AA992D
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f21;
/* rgb */ color: rgb(148, 159, 33);
/* oklch */ color: oklch(67.2% 0.142 114.8);
Tailwind
colors: {
  custom: {
    50: '#b7bb68',
    500: '#949f21',
    950: '#000000',
  },
}
SCSS
$custom: #949f21;
$custom-light: #b7bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#949f21",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 65.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.14155,
    "h": 114.8
  },
  "luminance": 0.31202
}

Semantic roles & 50–950 ramp

primary
#949F21
secondary
#635AC2
accent
#3FE94E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949F21

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

Preview Lab → · Contrast checker → · Palette generator →

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