#968C22#968C22

#968C22 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.121 H 103.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#968C22
RGBrgb(150, 140, 34)
HSLhsl(55, 63%, 36%)
HSVhsv(55, 77%, 59%)
CMYKcmyk(0%, 6.7%, 77.3%, 41.2%)
CIE-LABlab(57.42, -8.34, 53.86)
CIE-LCHlch(57.42, 54.50, 98.80°)
OKLaboklab(63.01% -0.0289 0.1179)
OKLCHoklch(63.01% 0.121 103.8)
XYZxyz(22.2455, 25.3566, 5.2356)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C22 #222C96
analogous
#965222 #968C22 #669622
triadic
#968C22 #22968C #8C2296
tetradic
#968C22 #229652 #222C96 #962266
square
#968C22 #229652 #222C96 #962266
split-complementary
#968C22 #226696 #522296
monochromatic
#322F0B #645D17 #968C22 #C8BB2D #D9CE59

Accessibility & contrast

On white

3.46
#968C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#968C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C22
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C22#FFFFFF#000000##000000
##968C221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c22;
/* rgb */ color: rgb(150, 140, 34);
/* oklch */ color: oklch(63.0% 0.121 103.8);
Tailwind
colors: {
  custom: {
    50: '#b8ad66',
    500: '#968c22',
    950: '#000000',
  },
}
SCSS
$custom: #968c22;
$custom-light: #b8ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#968c22",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 54.828,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63009,
    "c": 0.12137,
    "h": 103.8
  },
  "luminance": 0.25356
}

Semantic roles & 50–950 ramp

primary
#968C22
secondary
#565FBE
accent
#50E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C22

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

Preview Lab → · Contrast checker → · Palette generator →

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