#968E23#968E23

#968E23 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.123 H 105.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#968E23
RGBrgb(150, 142, 35)
HSLhsl(56, 62%, 36%)
HSVhsv(56, 77%, 59%)
CMYKcmyk(0%, 5.3%, 76.7%, 41.2%)
CIE-LABlab(57.99, -9.37, 54.04)
CIE-LCHlch(57.99, 54.85, 99.84°)
OKLaboklab(63.47% -0.0317 0.1185)
OKLCHoklch(63.47% 0.123 105)
XYZxyz(22.5550, 25.9523, 5.4110)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E23 #232B96
analogous
#965523 #968E23 #659623
triadic
#968E23 #23968E #8E2396
tetradic
#968E23 #239655 #232B96 #962365
square
#968E23 #239655 #232B96 #962365
split-complementary
#968E23 #236596 #552396
monochromatic
#33300C #645F17 #968E23 #C8BD2F #D9D05B

Accessibility & contrast

On white

3.39
#968E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#968E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968E23
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968E23#FFFFFF#000000##000000
##968E231.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890B
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968e23;
/* rgb */ color: rgb(150, 142, 35);
/* oklch */ color: oklch(63.5% 0.123 105.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae67',
    500: '#968e23',
    950: '#000000',
  },
}
SCSS
$custom: #968e23;
$custom-light: #b8ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#968e23",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 55.826,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63465,
    "c": 0.12264,
    "h": 105
  },
  "luminance": 0.25951
}

Semantic roles & 50–950 ramp

primary
#968E23
secondary
#585FBD
accent
#4EE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968E23

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

Preview Lab → · Contrast checker → · Palette generator →

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