#968E21#968E21

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

Color values

HEX#968E21
RGBrgb(150, 142, 33)
HSLhsl(56, 64%, 36%)
HSVhsv(56, 78%, 59%)
CMYKcmyk(0%, 5.3%, 78%, 41.2%)
CIE-LABlab(57.98, -9.46, 54.72)
CIE-LCHlch(57.98, 55.53, 99.81°)
OKLaboklab(63.45% -0.0321 0.1195)
OKLCHoklch(63.45% 0.124 105)
XYZxyz(22.5262, 25.9407, 5.2590)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E21 #212996
analogous
#965321 #968E21 #639621
triadic
#968E21 #21968E #8E2196
tetradic
#968E21 #219653 #212996 #962163
square
#968E21 #219653 #212996 #962163
split-complementary
#968E21 #216396 #532196
monochromatic
#322F0B #645F16 #968E21 #C8BD2C #DAD157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968E21#FFFFFF#000000##000000
##968E211.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)
#9B8906
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968e21;
/* rgb */ color: rgb(150, 142, 33);
/* oklch */ color: oklch(63.5% 0.124 105.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae66',
    500: '#968e21',
    950: '#000000',
  },
}
SCSS
$custom: #968e21;
$custom-light: #b8ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#968e21",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 55.897,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.12375,
    "h": 105
  },
  "luminance": 0.2594
}

Semantic roles & 50–950 ramp

primary
#968E21
secondary
#555CBE
accent
#4CE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968E21

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

Preview Lab → · Contrast checker → · Palette generator →

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