#949F22#949F22

#949F22 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.141 H 114.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#949F22
RGBrgb(148, 159, 34)
HSLhsl(65, 65%, 38%)
HSVhsv(65, 79%, 62%)
CMYKcmyk(6.9%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.68, -19.22, 58.61)
CIE-LCHlch(62.68, 61.68, 108.15°)
OKLaboklab(67.17% -0.0591 0.1281)
OKLCHoklch(67.17% 0.141 114.8)
XYZxyz(24.9004, 31.2081, 6.2251)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F22 #2D229F
analogous
#9F6B22 #949F22 #559F22
triadic
#949F22 #22949F #9F2294
tetradic
#949F22 #229F6B #2D229F #9F2255
square
#949F22 #229F6B #2D229F #9F2255
split-complementary
#949F22 #22559F #6B229F
monochromatic
#363A0C #656D17 #949F22 #C3D12D #D2DD5F

Accessibility & contrast

On white

2.90
#949F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#949F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F22
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F22#FFFFFF#000000##000000
##949F221.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f22;
/* rgb */ color: rgb(148, 159, 34);
/* oklch */ color: oklch(67.2% 0.141 114.8);
Tailwind
colors: {
  custom: {
    50: '#b7bb69',
    500: '#949f22',
    950: '#000000',
  },
}
SCSS
$custom: #949f22;
$custom-light: #b7bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#949f22",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 65.28,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.14105,
    "h": 114.8
  },
  "luminance": 0.31208
}

Semantic roles & 50–950 ramp

primary
#949F22
secondary
#645BC1
accent
#40E84F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949F22

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

Preview Lab → · Contrast checker → · Palette generator →

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