#959229#959229

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

Color values

HEX#959229
RGBrgb(149, 146, 41)
HSLhsl(58, 57%, 37%)
HSVhsv(58, 72%, 58%)
CMYKcmyk(0%, 2%, 72.5%, 41.6%)
CIE-LABlab(59.07, -11.68, 52.85)
CIE-LCHlch(59.07, 54.13, 102.47°)
OKLaboklab(64.32% -0.0375 0.1171)
OKLCHoklch(64.32% 0.123 107.8)
XYZxyz(23.0744, 27.1082, 6.1143)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959229 #292C95
analogous
#955C29 #959229 #629529
triadic
#959229 #299592 #922995
tetradic
#959229 #29955C #292C95 #952962
square
#959229 #29955C #292C95 #952962
split-complementary
#959229 #296295 #5C2995
monochromatic
#35340F #65631C #959229 #C5C136 #D4D164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959229#FFFFFF#000000##000000
##9592291.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)
#9E8C17
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#A0887E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959229;
/* rgb */ color: rgb(149, 146, 41);
/* oklch */ color: oklch(64.3% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b7b16a',
    500: '#959229',
    950: '#000000',
  },
}
SCSS
$custom: #959229;
$custom-light: #b7b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#959229",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 58.333,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64318,
    "c": 0.12299,
    "h": 107.8
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#959229
secondary
#6062BA
accent
#4CE048
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #959229

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

Preview Lab → · Contrast checker → · Palette generator →

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