#968B1D#968B1D

#968B1D is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.123 H 103.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#968B1D
RGBrgb(150, 139, 29)
HSLhsl(55, 68%, 35%)
HSVhsv(55, 81%, 59%)
CMYKcmyk(0%, 7.3%, 80.7%, 41.2%)
CIE-LABlab(57.11, -7.99, 55.24)
CIE-LCHlch(57.11, 55.81, 98.24°)
OKLaboklab(62.76% -0.0284 0.1198)
OKLCHoklch(62.76% 0.123 103.3)
XYZxyz(22.0331, 25.0389, 4.8346)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B1D #1D2896
analogous
#964E1D #968B1D #65961D
triadic
#968B1D #1D968B #8B1D96
tetradic
#968B1D #1D964E #1D2896 #961D65
square
#968B1D #1D964E #1D2896 #961D65
split-complementary
#968B1D #1D6596 #4E1D96
monochromatic
#2F2C09 #635B13 #968B1D #C9BB27 #DDD050

Accessibility & contrast

On white

3.50
#968B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#968B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B1D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B1D#FFFFFF#000000##000000
##968B1D1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b1d;
/* rgb */ color: rgb(150, 139, 29);
/* oklch */ color: oklch(62.8% 0.123 103.3);
Tailwind
colors: {
  custom: {
    50: '#b9ac64',
    500: '#968b1d',
    950: '#000000',
  },
}
SCSS
$custom: #968b1d;
$custom-light: #b9ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#968b1d",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 54.545,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62756,
    "c": 0.12314,
    "h": 103.3
  },
  "luminance": 0.25038
}

Semantic roles & 50–950 ramp

primary
#968B1D
secondary
#4F59C0
accent
#4DEA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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