#968C1D#968C1D

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

Color values

HEX#968C1D
RGBrgb(150, 140, 29)
HSLhsl(55, 68%, 35%)
HSVhsv(55, 81%, 59%)
CMYKcmyk(0%, 6.7%, 80.7%, 41.2%)
CIE-LABlab(57.40, -8.54, 55.49)
CIE-LCHlch(57.40, 56.14, 98.75°)
OKLaboklab(62.98% -0.0299 0.1204)
OKLCHoklch(62.98% 0.124 103.9)
XYZxyz(22.1785, 25.3298, 4.8831)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C1D #1D2796
analogous
#964F1D #968C1D #64961D
triadic
#968C1D #1D968C #8C1D96
tetradic
#968C1D #1D964F #1D2796 #961D64
square
#968C1D #1D964F #1D2796 #961D64
split-complementary
#968C1D #1D6496 #4F1D96
monochromatic
#2F2C09 #635C13 #968C1D #C9BC27 #DDD250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C1D#FFFFFF#000000##000000
##968C1D1.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)
#998700
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c1d;
/* rgb */ color: rgb(150, 140, 29);
/* oklch */ color: oklch(63.0% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#b9ad64',
    500: '#968c1d',
    950: '#000000',
  },
}
SCSS
$custom: #968c1d;
$custom-light: #b9ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#968c1d",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 55.041,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.12402,
    "h": 103.9
  },
  "luminance": 0.25329
}

Semantic roles & 50–950 ramp

primary
#968C1D
secondary
#4F58C0
accent
#4CEA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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