#949C22#949C22

#949C22 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.138 H 113.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#949C22
RGBrgb(148, 156, 34)
HSLhsl(64, 64%, 37%)
HSVhsv(64, 78%, 61%)
CMYKcmyk(5.1%, 0%, 78.2%, 38.8%)
CIE-LABlab(61.82, -17.68, 57.83)
CIE-LCHlch(61.82, 60.47, 107.00°)
OKLaboklab(66.48% -0.0548 0.1264)
OKLCHoklch(66.48% 0.138 113.5)
XYZxyz(24.3907, 30.1889, 6.0552)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C22 #2A229C
analogous
#9C6722 #949C22 #579C22
triadic
#949C22 #22949C #9C2294
tetradic
#949C22 #229C67 #2A229C #9C2257
square
#949C22 #229C67 #2A229C #9C2257
split-complementary
#949C22 #22579C #67229C
monochromatic
#35380C #646A17 #949C22 #C4CE2D #D3DC5D

Accessibility & contrast

On white

2.98
#949C22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#949C22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C22
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C22#FFFFFF#000000##000000
##949C221.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c22;
/* rgb */ color: rgb(148, 156, 34);
/* oklch */ color: oklch(66.5% 0.138 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b968',
    500: '#949c22',
    950: '#000000',
  },
}
SCSS
$custom: #949c22;
$custom-light: #b7b968;
$custom-dark: #000000;
JSON
{
  "hex": "#949c22",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 63.934,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66478,
    "c": 0.13779,
    "h": 113.5
  },
  "luminance": 0.30188
}

Semantic roles & 50–950 ramp

primary
#949C22
secondary
#605AC0
accent
#41E74C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949C22

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

Preview Lab → · Contrast checker → · Palette generator →

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