#959225#959225

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

Color values

HEX#959225
RGBrgb(149, 146, 37)
HSLhsl(58, 60%, 36%)
HSVhsv(58, 75%, 58%)
CMYKcmyk(0%, 2%, 75.2%, 41.6%)
CIE-LABlab(59.05, -11.88, 54.29)
CIE-LCHlch(59.05, 55.58, 102.34°)
OKLaboklab(64.29% -0.0385 0.1194)
OKLCHoklch(64.29% 0.125 107.9)
XYZxyz(23.0081, 27.0817, 5.7652)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959225 #252895
analogous
#955A25 #959225 #609525
triadic
#959225 #259592 #922595
tetradic
#959225 #25955A #252895 #952560
square
#959225 #25955A #252895 #952560
split-complementary
#959225 #256095 #5A2595
monochromatic
#33320D #646219 #959225 #C6C231 #D7D45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959225#FFFFFF#000000##000000
##9592251.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)
#9F8C0E
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959225;
/* rgb */ color: rgb(149, 146, 37);
/* oklch */ color: oklch(64.3% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b8b168',
    500: '#959225',
    950: '#000000',
  },
}
SCSS
$custom: #959225;
$custom-light: #b8b168;
$custom-dark: #000000;
JSON
{
  "hex": "#959225",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 58.393,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64291,
    "c": 0.12547,
    "h": 107.9
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#959225
secondary
#5A5DBC
accent
#49E344
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #959225

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

Preview Lab → · Contrast checker → · Palette generator →

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