#949020#949020

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

Color values

HEX#949020
RGBrgb(148, 144, 32)
HSLhsl(58, 64%, 35%)
HSVhsv(58, 78%, 58%)
CMYKcmyk(0%, 2.7%, 78.4%, 42%)
CIE-LABlab(58.37, -11.48, 55.33)
CIE-LCHlch(58.37, 56.51, 101.72°)
OKLaboklab(63.72% -0.0377 0.1207)
OKLCHoklch(63.72% 0.126 107.4)
XYZxyz(22.4476, 26.3475, 5.2694)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949020 #202494
analogous
#945620 #949020 #5E9420
triadic
#949020 #209490 #902094
tetradic
#949020 #209456 #202494 #94205E
square
#949020 #209456 #202494 #94205E
split-complementary
#949020 #205E94 #562094
monochromatic
#2F2E0A #625F15 #949020 #C6C12B #DAD554

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949020#FFFFFF#000000##000000
##9490201.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)
#9D8A02
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#9F867B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #949020;
/* rgb */ color: rgb(148, 144, 32);
/* oklch */ color: oklch(63.7% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b7b066',
    500: '#949020',
    950: '#000000',
  },
}
SCSS
$custom: #949020;
$custom-light: #b7b066;
$custom-dark: #000000;
JSON
{
  "hex": "#949020",
  "rgb": {
    "r": 148,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 57.931,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.12648,
    "h": 107.4
  },
  "luminance": 0.26347
}

Semantic roles & 50–950 ramp

primary
#949020
secondary
#5256BE
accent
#46E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #949020

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

Preview Lab → · Contrast checker → · Palette generator →

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