#949D22#949D22

#949D22 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.139 H 113.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#949D22
RGBrgb(148, 157, 34)
HSLhsl(64, 64%, 37%)
HSVhsv(64, 78%, 62%)
CMYKcmyk(5.7%, 0%, 78.3%, 38.4%)
CIE-LABlab(62.11, -18.20, 58.09)
CIE-LCHlch(62.11, 60.87, 107.39°)
OKLaboklab(66.71% -0.0563 0.127)
OKLCHoklch(66.71% 0.139 113.9)
XYZxyz(24.5592, 30.5258, 6.1114)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D22 #2B229D
analogous
#9D6822 #949D22 #579D22
triadic
#949D22 #22949D #9D2294
tetradic
#949D22 #229D68 #2B229D #9D2257
square
#949D22 #229D68 #2B229D #9D2257
split-complementary
#949D22 #22579D #68229D
monochromatic
#35380C #656B17 #949D22 #C3CF2D #D3DC5D

Accessibility & contrast

On white

2.96
#949D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#949D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D22
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D22#FFFFFF#000000##000000
##949D221.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d22;
/* rgb */ color: rgb(148, 157, 34);
/* oklch */ color: oklch(66.7% 0.139 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b968',
    500: '#949d22',
    950: '#000000',
  },
}
SCSS
$custom: #949d22;
$custom-light: #b7b968;
$custom-dark: #000000;
JSON
{
  "hex": "#949d22",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 64.39,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.13888,
    "h": 113.9
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#949D22
secondary
#625AC1
accent
#40E74D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949D22

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

Preview Lab → · Contrast checker → · Palette generator →

#949D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva