#949820#949820

#949820 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.5% C 0.135 H 111.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#949820
RGBrgb(148, 152, 32)
HSLhsl(62, 65%, 36%)
HSVhsv(62, 79%, 60%)
CMYKcmyk(2.6%, 0%, 78.9%, 40.4%)
CIE-LABlab(60.66, -15.69, 57.40)
CIE-LCHlch(60.66, 59.51, 105.29°)
OKLaboklab(65.55% -0.0495 0.1251)
OKLCHoklch(65.55% 0.135 111.6)
XYZxyz(23.7025, 28.8573, 5.6876)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949820 #242098
analogous
#986020 #949820 #589820
triadic
#949820 #209498 #982094
tetradic
#949820 #209860 #242098 #982058
square
#949820 #209860 #242098 #982058
split-complementary
#949820 #205898 #602098
monochromatic
#32330B #636515 #949820 #C5CB2B #D7DC57

Accessibility & contrast

On white

3.10
#949820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#949820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949820
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949820#FFFFFF#000000##000000
##9498201.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#9F8E82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #949820;
/* rgb */ color: rgb(148, 152, 32);
/* oklch */ color: oklch(65.5% 0.135 111.6);
Tailwind
colors: {
  custom: {
    50: '#b7b667',
    500: '#949820',
    950: '#000000',
  },
}
SCSS
$custom: #949820;
$custom-light: #b7b667;
$custom-dark: #000000;
JSON
{
  "hex": "#949820",
  "rgb": {
    "r": 148,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 62,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65545,
    "c": 0.13456,
    "h": 111.6
  },
  "luminance": 0.28857
}

Semantic roles & 50–950 ramp

primary
#949820
secondary
#5854BF
accent
#40E845
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949820

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

Preview Lab → · Contrast checker → · Palette generator →

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