#949021#949021

#949021 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.7% C 0.126 H 107.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#949021
RGBrgb(148, 144, 33)
HSLhsl(58, 64%, 35%)
HSVhsv(58, 78%, 58%)
CMYKcmyk(0%, 2.7%, 77.7%, 42%)
CIE-LABlab(58.37, -11.44, 55.01)
CIE-LCHlch(58.37, 56.18, 101.74°)
OKLaboklab(63.72% -0.0375 0.1202)
OKLCHoklch(63.72% 0.126 107.3)
XYZxyz(22.4614, 26.3530, 5.3420)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949021 #212594
analogous
#945621 #949021 #5E9421
triadic
#949021 #219490 #902194
tetradic
#949021 #219456 #212594 #94215E
square
#949021 #219456 #212594 #94215E
split-complementary
#949021 #215E94 #562194
monochromatic
#302F0B #625F16 #949021 #C6C12C #D9D556

Accessibility & contrast

On white

3.35
#949021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#949021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949021
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949021#FFFFFF#000000##000000
##9490211.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A05
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#9F867B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #949021;
/* rgb */ color: rgb(148, 144, 33);
/* oklch */ color: oklch(63.7% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#b7b066',
    500: '#949021',
    950: '#000000',
  },
}
SCSS
$custom: #949021;
$custom-light: #b7b066;
$custom-dark: #000000;
JSON
{
  "hex": "#949021",
  "rgb": {
    "r": 148,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 57.913,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.12594,
    "h": 107.3
  },
  "luminance": 0.26352
}

Semantic roles & 50–950 ramp

primary
#949021
secondary
#5457BD
accent
#47E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949021

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

Preview Lab → · Contrast checker → · Palette generator →

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