#968D22#968D22

#968D22 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.122 H 104.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#968D22
RGBrgb(150, 141, 34)
HSLhsl(55, 63%, 36%)
HSVhsv(55, 77%, 59%)
CMYKcmyk(0%, 6%, 77.3%, 41.2%)
CIE-LABlab(57.70, -8.88, 54.12)
CIE-LCHlch(57.70, 54.85, 99.32°)
OKLaboklab(63.23% -0.0304 0.1184)
OKLCHoklch(63.23% 0.122 104.4)
XYZxyz(22.3923, 25.6502, 5.2845)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D22 #222B96
analogous
#965322 #968D22 #659622
triadic
#968D22 #22968D #8D2296
tetradic
#968D22 #229653 #222B96 #962265
square
#968D22 #229653 #222B96 #962265
split-complementary
#968D22 #226596 #532296
monochromatic
#322F0B #645E17 #968D22 #C8BC2D #D9CF59

Accessibility & contrast

On white

3.43
#968D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#968D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D22
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D22#FFFFFF#000000##000000
##968D221.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d22;
/* rgb */ color: rgb(150, 141, 34);
/* oklch */ color: oklch(63.2% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae66',
    500: '#968d22',
    950: '#000000',
  },
}
SCSS
$custom: #968d22;
$custom-light: #b8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#968d22",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 55.345,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.12228,
    "h": 104.4
  },
  "luminance": 0.25649
}

Semantic roles & 50–950 ramp

primary
#968D22
secondary
#565EBE
accent
#4EE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D22

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

Preview Lab → · Contrast checker → · Palette generator →

#968D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva