#968A1D#968A1D

#968A1D is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.122 H 102.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#968A1D
RGBrgb(150, 138, 29)
HSLhsl(54, 68%, 35%)
HSVhsv(54, 81%, 59%)
CMYKcmyk(0%, 8%, 80.7%, 41.2%)
CIE-LABlab(56.83, -7.45, 54.99)
CIE-LCHlch(56.83, 55.49, 97.72°)
OKLaboklab(62.53% -0.0268 0.1193)
OKLCHoklch(62.53% 0.122 102.7)
XYZxyz(21.8890, 24.7507, 4.7865)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A1D #1D2996
analogous
#964E1D #968A1D #65961D
triadic
#968A1D #1D968A #8A1D96
tetradic
#968A1D #1D964E #1D2996 #961D65
square
#968A1D #1D964E #1D2996 #961D65
split-complementary
#968A1D #1D6596 #4E1D96
monochromatic
#2F2C09 #635B13 #968A1D #C9B927 #DDCF50

Accessibility & contrast

On white

3.53
#968A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#968A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A1D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A1D#FFFFFF#000000##000000
##968A1D1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a1d;
/* rgb */ color: rgb(150, 138, 29);
/* oklch */ color: oklch(62.5% 0.122 102.7);
Tailwind
colors: {
  custom: {
    50: '#b9ab64',
    500: '#968a1d',
    950: '#000000',
  },
}
SCSS
$custom: #968a1d;
$custom-light: #b9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#968a1d",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 54.05,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.12227,
    "h": 102.7
  },
  "luminance": 0.2475
}

Semantic roles & 50–950 ramp

primary
#968A1D
secondary
#4F5AC0
accent
#4EEA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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