#958D22#958D22

#958D22 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.122 H 105.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#958D22
RGBrgb(149, 141, 34)
HSLhsl(56, 63%, 36%)
HSVhsv(56, 77%, 58%)
CMYKcmyk(0%, 5.4%, 77.2%, 41.6%)
CIE-LABlab(57.61, -9.33, 54.01)
CIE-LCHlch(57.61, 54.81, 99.80°)
OKLaboklab(63.14% -0.0316 0.1182)
OKLCHoklch(63.14% 0.122 105)
XYZxyz(22.2090, 25.5557, 5.2759)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D22 #222A95
analogous
#955322 #958D22 #639522
triadic
#958D22 #22958D #8D2295
tetradic
#958D22 #229553 #222A95 #952263
square
#958D22 #229553 #222A95 #952263
split-complementary
#958D22 #226395 #532295
monochromatic
#312F0B #635E17 #958D22 #C7BC2D #D9D058

Accessibility & contrast

On white

3.44
#958D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#958D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D22
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D22#FFFFFF#000000##000000
##958D221.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#A18379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d22;
/* rgb */ color: rgb(149, 141, 34);
/* oklch */ color: oklch(63.1% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae66',
    500: '#958d22',
    950: '#000000',
  },
}
SCSS
$custom: #958d22;
$custom-light: #b8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#958d22",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 55.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6314,
    "c": 0.12238,
    "h": 105
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#958D22
secondary
#565DBD
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958D22

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

Preview Lab → · Contrast checker → · Palette generator →

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