#959F20#959F20

#959F20 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.2% C 0.142 H 114.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#959F20
RGBrgb(149, 159, 32)
HSLhsl(65, 66%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(6.3%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.75, -18.86, 59.31)
CIE-LCHlch(62.75, 62.24, 107.64°)
OKLaboklab(67.25% -0.0583 0.1292)
OKLCHoklch(67.25% 0.142 114.3)
XYZxyz(25.0541, 31.2906, 6.0861)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F20 #2A209F
analogous
#9F6920 #959F20 #569F20
triadic
#959F20 #20959F #9F2095
tetradic
#959F20 #209F69 #2A209F #9F2056
square
#959F20 #209F69 #2A209F #9F2056
split-complementary
#959F20 #20569F #69209F
monochromatic
#36390B #656C16 #959F20 #C5D22A #D4DE5B

Accessibility & contrast

On white

2.89
#959F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#959F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959F20
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959F20#FFFFFF#000000##000000
##959F201.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#9F9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f20;
/* rgb */ color: rgb(149, 159, 32);
/* oklch */ color: oklch(67.2% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb68',
    500: '#959f20',
    950: '#000000',
  },
}
SCSS
$custom: #959f20;
$custom-light: #b8bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#959f20",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 64.724,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.14172,
    "h": 114.3
  },
  "luminance": 0.3129
}

Semantic roles & 50–950 ramp

primary
#959F20
secondary
#6159C2
accent
#3EE94C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959F20

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

Preview Lab → · Contrast checker → · Palette generator →

#959F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva