#959227#959227

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

Color values

HEX#959227
RGBrgb(149, 146, 39)
HSLhsl(58, 59%, 37%)
HSVhsv(58, 74%, 58%)
CMYKcmyk(0%, 2%, 73.8%, 41.6%)
CIE-LABlab(59.06, -11.78, 53.58)
CIE-LCHlch(59.06, 54.86, 102.40°)
OKLaboklab(64.3% -0.038 0.1183)
OKLCHoklch(64.3% 0.124 107.8)
XYZxyz(23.0404, 27.0946, 5.9352)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959227 #272A95
analogous
#955B27 #959227 #619527
triadic
#959227 #279592 #922795
tetradic
#959227 #27955B #272A95 #952761
square
#959227 #27955B #272A95 #952761
split-complementary
#959227 #276195 #5B2795
monochromatic
#34330E #64621A #959227 #C6C234 #D6D261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959227#FFFFFF#000000##000000
##9592271.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)
#9E8C13
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959227;
/* rgb */ color: rgb(149, 146, 39);
/* oklch */ color: oklch(64.3% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#b7b169',
    500: '#959227',
    950: '#000000',
  },
}
SCSS
$custom: #959227;
$custom-light: #b7b169;
$custom-dark: #000000;
JSON
{
  "hex": "#959227",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 58.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.12426,
    "h": 107.8
  },
  "luminance": 0.27094
}

Semantic roles & 50–950 ramp

primary
#959227
secondary
#5D5FBB
accent
#4AE246
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #959227

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

Preview Lab → · Contrast checker → · Palette generator →

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