#949E22#949E22

#949E22 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.9% C 0.140 H 114.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#949E22
RGBrgb(148, 158, 34)
HSLhsl(65, 65%, 38%)
HSVhsv(65, 78%, 62%)
CMYKcmyk(6.3%, 0%, 78.5%, 38%)
CIE-LABlab(62.39, -18.71, 58.35)
CIE-LCHlch(62.39, 61.28, 107.78°)
OKLaboklab(66.94% -0.0577 0.1275)
OKLCHoklch(66.94% 0.14 114.3)
XYZxyz(24.7291, 30.8656, 6.1680)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E22 #2C229E
analogous
#9E6A22 #949E22 #569E22
triadic
#949E22 #22949E #9E2294
tetradic
#949E22 #229E6A #2C229E #9E2256
square
#949E22 #229E6A #2C229E #9E2256
split-complementary
#949E22 #22569E #6A229E
monochromatic
#36390C #656C17 #949E22 #C3D02D #D2DC5E

Accessibility & contrast

On white

2.93
#949E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#949E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E22
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E22#FFFFFF#000000##000000
##949E221.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e22;
/* rgb */ color: rgb(148, 158, 34);
/* oklch */ color: oklch(66.9% 0.140 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba68',
    500: '#949e22',
    950: '#000000',
  },
}
SCSS
$custom: #949e22;
$custom-light: #b7ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#949e22",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 64.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.13996,
    "h": 114.3
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#949E22
secondary
#635BC1
accent
#40E84E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949E22

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

Preview Lab → · Contrast checker → · Palette generator →

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