#959218#959218

#959218 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.2% C 0.132 H 108.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#959218
RGBrgb(149, 146, 24)
HSLhsl(59, 72%, 34%)
HSVhsv(59, 84%, 58%)
CMYKcmyk(0%, 2%, 83.9%, 41.6%)
CIE-LABlab(58.99, -12.37, 58.27)
CIE-LCHlch(58.99, 59.57, 101.99°)
OKLaboklab(64.22% -0.0409 0.1255)
OKLCHoklch(64.22% 0.132 108.1)
XYZxyz(22.8391, 27.0141, 4.8751)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959218 #181B95
analogous
#955418 #959218 #5A9518
triadic
#959218 #189592 #921895
tetradic
#959218 #189554 #181B95 #95185A
square
#959218 #189554 #181B95 #95185A
split-complementary
#959218 #185A95 #541895
monochromatic
#2C2B07 #605E10 #959218 #CAC620 #E1DE46

Accessibility & contrast

On white

3.28
#959218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#959218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959218
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959218#FFFFFF#000000##000000
##9592181.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A19024
Tritanopia (blue-blind)
#A0887C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959218;
/* rgb */ color: rgb(149, 146, 24);
/* oklch */ color: oklch(64.2% 0.132 108.1);
Tailwind
colors: {
  custom: {
    50: '#b8b163',
    500: '#959218',
    950: '#000000',
  },
}
SCSS
$custom: #959218;
$custom-light: #b8b163;
$custom-dark: #000000;
JSON
{
  "hex": "#959218",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 24
  },
  "hsl": {
    "h": 58.56,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.13197,
    "h": 108.1
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#959218
secondary
#4649C2
accent
#3DEF39
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959218

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

Preview Lab → · Contrast checker → · Palette generator →

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