#968F22#968F22

#968F22 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.124 H 105.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#968F22
RGBrgb(150, 143, 34)
HSLhsl(56, 63%, 36%)
HSVhsv(56, 77%, 59%)
CMYKcmyk(0%, 4.7%, 77.3%, 41.2%)
CIE-LABlab(58.27, -9.96, 54.64)
CIE-LCHlch(58.27, 55.54, 100.33°)
OKLaboklab(63.68% -0.0334 0.1196)
OKLCHoklch(63.68% 0.124 105.6)
XYZxyz(22.6898, 26.2453, 5.3837)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968F22 #222996
analogous
#965522 #968F22 #639622
triadic
#968F22 #22968F #8F2296
tetradic
#968F22 #229655 #222996 #962263
square
#968F22 #229655 #222996 #962263
split-complementary
#968F22 #226396 #552296
monochromatic
#32300B #645F17 #968F22 #C8BF2D #D9D259

Accessibility & contrast

On white

3.36
#968F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#968F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968F22
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968F22#FFFFFF#000000##000000
##968F221.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#A2857A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968f22;
/* rgb */ color: rgb(150, 143, 34);
/* oklch */ color: oklch(63.7% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#b8af67',
    500: '#968f22',
    950: '#000000',
  },
}
SCSS
$custom: #968f22;
$custom-light: #b8af67;
$custom-dark: #000000;
JSON
{
  "hex": "#968f22",
  "rgb": {
    "r": 150,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 56.379,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.12413,
    "h": 105.6
  },
  "luminance": 0.26244
}

Semantic roles & 50–950 ramp

primary
#968F22
secondary
#565CBE
accent
#4CE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968F22

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

Preview Lab → · Contrast checker → · Palette generator →

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