#949A22#949A22

#949A22 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.136 H 112.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#949A22
RGBrgb(148, 154, 34)
HSLhsl(63, 64%, 37%)
HSVhsv(63, 78%, 60%)
CMYKcmyk(3.9%, 0%, 77.9%, 39.6%)
CIE-LABlab(61.24, -16.65, 57.30)
CIE-LCHlch(61.24, 59.67, 106.20°)
OKLaboklab(66.02% -0.052 0.1253)
OKLCHoklch(66.02% 0.136 112.5)
XYZxyz(24.0579, 29.5232, 5.9443)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A22 #28229A
analogous
#9A6422 #949A22 #589A22
triadic
#949A22 #22949A #9A2294
tetradic
#949A22 #229A64 #28229A #9A2258
square
#949A22 #229A64 #28229A #9A2258
split-complementary
#949A22 #22589A #64229A
monochromatic
#34360C #646817 #949A22 #C4CC2D #D5DB5B

Accessibility & contrast

On white

3.04
#949A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#949A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A22
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A22#FFFFFF#000000##000000
##949A221.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#9E9084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a22;
/* rgb */ color: rgb(148, 154, 34);
/* oklch */ color: oklch(66.0% 0.136 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b768',
    500: '#949a22',
    950: '#000000',
  },
}
SCSS
$custom: #949a22;
$custom-light: #b7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#949a22",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 63,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66016,
    "c": 0.13564,
    "h": 112.5
  },
  "luminance": 0.29523
}

Semantic roles & 50–950 ramp

primary
#949A22
secondary
#5E58BF
accent
#41E749
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949A22

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

Preview Lab → · Contrast checker → · Palette generator →

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