#949822#949822

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

Color values

HEX#949822
RGBrgb(148, 152, 34)
HSLhsl(62, 63%, 36%)
HSVhsv(62, 78%, 60%)
CMYKcmyk(2.6%, 0%, 77.6%, 40.4%)
CIE-LABlab(60.67, -15.61, 56.78)
CIE-LCHlch(60.67, 58.88, 105.37°)
OKLaboklab(65.56% -0.0491 0.1242)
OKLCHoklch(65.56% 0.134 111.6)
XYZxyz(23.7305, 28.8685, 5.8352)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949822 #262298
analogous
#986122 #949822 #599822
triadic
#949822 #229498 #982294
tetradic
#949822 #229861 #262298 #982259
square
#949822 #229861 #262298 #982259
split-complementary
#949822 #225998 #612298
monochromatic
#33340C #636617 #949822 #C5CA2D #D6DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949822#FFFFFF#000000##000000
##9498221.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)
#A49102
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#9F8E82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #949822;
/* rgb */ color: rgb(148, 152, 34);
/* oklch */ color: oklch(65.6% 0.134 111.6);
Tailwind
colors: {
  custom: {
    50: '#b7b668',
    500: '#949822',
    950: '#000000',
  },
}
SCSS
$custom: #949822;
$custom-light: #b7b668;
$custom-dark: #000000;
JSON
{
  "hex": "#949822",
  "rgb": {
    "r": 148,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 62.034,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.13353,
    "h": 111.6
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#949822
secondary
#5B57BE
accent
#41E647
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949822

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

Preview Lab → · Contrast checker → · Palette generator →

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