#959226#959226

#959226 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.125 H 107.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#959226
RGBrgb(149, 146, 38)
HSLhsl(58, 59%, 37%)
HSVhsv(58, 74%, 58%)
CMYKcmyk(0%, 2%, 74.5%, 41.6%)
CIE-LABlab(59.06, -11.83, 53.94)
CIE-LCHlch(59.06, 55.22, 102.37°)
OKLaboklab(64.3% -0.0382 0.1189)
OKLCHoklch(64.3% 0.125 107.8)
XYZxyz(23.0240, 27.0880, 5.8490)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959226 #262995
analogous
#955B26 #959226 #619526
triadic
#959226 #269592 #922695
tetradic
#959226 #26955B #262995 #952661
square
#959226 #26955B #262995 #952661
split-complementary
#959226 #266195 #5B2695
monochromatic
#33320D #64621A #959226 #C6C232 #D6D35F

Accessibility & contrast

On white

3.27
#959226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#959226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959226
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959226#FFFFFF#000000##000000
##9592261.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C11
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959226;
/* rgb */ color: rgb(149, 146, 38);
/* oklch */ color: oklch(64.3% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#b7b169',
    500: '#959226',
    950: '#000000',
  },
}
SCSS
$custom: #959226;
$custom-light: #b7b169;
$custom-dark: #000000;
JSON
{
  "hex": "#959226",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 58.378,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.12488,
    "h": 107.8
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

primary
#959226
secondary
#5B5EBB
accent
#4AE345
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #959226

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

Preview Lab → · Contrast checker → · Palette generator →

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