#959122#959122

#959122 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.0% C 0.126 H 107.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#959122
RGBrgb(149, 145, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 77%, 58%)
CMYKcmyk(0%, 2.7%, 77.2%, 41.6%)
CIE-LABlab(58.75, -11.48, 55.05)
CIE-LCHlch(58.75, 56.24, 101.78°)
OKLaboklab(64.05% -0.0376 0.1205)
OKLCHoklch(64.05% 0.126 107.3)
XYZxyz(22.8095, 26.7566, 5.4761)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959122 #222695
analogous
#955722 #959122 #5F9522
triadic
#959122 #229591 #912295
tetradic
#959122 #229557 #222695 #95225F
square
#959122 #229557 #222695 #95225F
split-complementary
#959122 #225F95 #572295
monochromatic
#31300B #636117 #959122 #C7C12D #D9D558

Accessibility & contrast

On white

3.31
#959122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#959122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959122
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959122#FFFFFF#000000##000000
##9591221.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A0877C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #959122;
/* rgb */ color: rgb(149, 145, 34);
/* oklch */ color: oklch(64.0% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#b8b167',
    500: '#959122',
    950: '#000000',
  },
}
SCSS
$custom: #959122;
$custom-light: #b8b167;
$custom-dark: #000000;
JSON
{
  "hex": "#959122",
  "rgb": {
    "r": 149,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 57.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.1262,
    "h": 107.3
  },
  "luminance": 0.26756
}

Semantic roles & 50–950 ramp

primary
#959122
secondary
#5659BD
accent
#48E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959122

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

Preview Lab → · Contrast checker → · Palette generator →

#959122 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva