#968C23#968C23

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

Color values

HEX#968C23
RGBrgb(150, 140, 35)
HSLhsl(55, 62%, 36%)
HSVhsv(55, 77%, 59%)
CMYKcmyk(0%, 6.7%, 76.7%, 41.2%)
CIE-LABlab(57.43, -8.30, 53.52)
CIE-LCHlch(57.43, 54.15, 98.81°)
OKLaboklab(63.02% -0.0287 0.1174)
OKLCHoklch(63.02% 0.121 103.7)
XYZxyz(22.2601, 25.3625, 5.3127)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C23 #232D96
analogous
#965323 #968C23 #679623
triadic
#968C23 #23968C #8C2396
tetradic
#968C23 #239653 #232D96 #962367
square
#968C23 #239653 #232D96 #962367
split-complementary
#968C23 #236796 #532396
monochromatic
#332F0C #645E17 #968C23 #C8BA2F #D9CE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C23#FFFFFF#000000##000000
##968C231.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)
#99870D
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c23;
/* rgb */ color: rgb(150, 140, 35);
/* oklch */ color: oklch(63.0% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8ad67',
    500: '#968c23',
    950: '#000000',
  },
}
SCSS
$custom: #968c23;
$custom-light: #b8ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#968c23",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 54.783,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.1208,
    "h": 103.7
  },
  "luminance": 0.25362
}

Semantic roles & 50–950 ramp

primary
#968C23
secondary
#5860BD
accent
#51E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C23

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

Preview Lab → · Contrast checker → · Palette generator →

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