#949121#949121

#949121 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.127 H 107.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#949121
RGBrgb(148, 145, 33)
HSLhsl(58, 64%, 35%)
HSVhsv(58, 78%, 58%)
CMYKcmyk(0%, 2%, 77.7%, 42%)
CIE-LABlab(58.66, -11.97, 55.27)
CIE-LCHlch(58.66, 56.55, 102.22°)
OKLaboklab(63.95% -0.039 0.1208)
OKLCHoklch(63.95% 0.127 107.9)
XYZxyz(22.6136, 26.6573, 5.3927)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949121 #212494
analogous
#945721 #949121 #5D9421
triadic
#949121 #219491 #912194
tetradic
#949121 #219457 #212494 #94215D
square
#949121 #219457 #212494 #94215D
split-complementary
#949121 #215D94 #572194
monochromatic
#302F0B #626016 #949121 #C6C22C #D9D656

Accessibility & contrast

On white

3.32
#949121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#949121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949121
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949121#FFFFFF#000000##000000
##9491211.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#9F877C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #949121;
/* rgb */ color: rgb(148, 145, 33);
/* oklch */ color: oklch(63.9% 0.127 107.9);
Tailwind
colors: {
  custom: {
    50: '#b7b166',
    500: '#949121',
    950: '#000000',
  },
}
SCSS
$custom: #949121;
$custom-light: #b7b166;
$custom-dark: #000000;
JSON
{
  "hex": "#949121",
  "rgb": {
    "r": 148,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 58.435,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.12692,
    "h": 107.9
  },
  "luminance": 0.26657
}

Semantic roles & 50–950 ramp

primary
#949121
secondary
#5456BD
accent
#46E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949121

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

Preview Lab → · Contrast checker → · Palette generator →

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