#968D23#968D23

#968D23 is a light, vivid yellow. Relative luminance 0.257; 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#968D23
RGBrgb(150, 141, 35)
HSLhsl(55, 62%, 36%)
HSVhsv(55, 77%, 59%)
CMYKcmyk(0%, 6%, 76.7%, 41.2%)
CIE-LABlab(57.71, -8.84, 53.78)
CIE-LCHlch(57.71, 54.50, 99.33°)
OKLaboklab(63.24% -0.0302 0.1179)
OKLCHoklch(63.24% 0.122 104.4)
XYZxyz(22.4069, 25.6560, 5.3616)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D23 #232C96
analogous
#965423 #968D23 #669623
triadic
#968D23 #23968D #8D2396
tetradic
#968D23 #239654 #232C96 #962366
square
#968D23 #239654 #232C96 #962366
split-complementary
#968D23 #236696 #542396
monochromatic
#33300C #645E17 #968D23 #C8BC2F #D9CF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968D23#FFFFFF#000000##000000
##968D231.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)
#9A880C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d23;
/* rgb */ color: rgb(150, 141, 35);
/* oklch */ color: oklch(63.2% 0.122 104.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae67',
    500: '#968d23',
    950: '#000000',
  },
}
SCSS
$custom: #968d23;
$custom-light: #b8ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#968d23",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 55.304,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.12171,
    "h": 104.4
  },
  "luminance": 0.25655
}

Semantic roles & 50–950 ramp

primary
#968D23
secondary
#5860BD
accent
#4FE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D23

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

Preview Lab → · Contrast checker → · Palette generator →

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