#968C1F#968C1F

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

Color values

HEX#968C1F
RGBrgb(150, 140, 31)
HSLhsl(55, 66%, 35%)
HSVhsv(55, 79%, 59%)
CMYKcmyk(0%, 6.7%, 79.3%, 41.2%)
CIE-LABlab(57.41, -8.46, 54.86)
CIE-LCHlch(57.41, 55.51, 98.77°)
OKLaboklab(62.99% -0.0295 0.1194)
OKLCHoklch(62.99% 0.123 103.9)
XYZxyz(22.2041, 25.3401, 5.0176)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C1F #1F2996
analogous
#96501F #968C1F #64961F
triadic
#968C1F #1F968C #8C1F96
tetradic
#968C1F #1F9650 #1F2996 #961F64
square
#968C1F #1F9650 #1F2996 #961F64
split-complementary
#968C1F #1F6496 #501F96
monochromatic
#312D0A #635D15 #968C1F #C9BB29 #DCD054

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C1F#FFFFFF#000000##000000
##968C1F1.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)
#998702
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c1f;
/* rgb */ color: rgb(150, 140, 31);
/* oklch */ color: oklch(63.0% 0.123 103.9);
Tailwind
colors: {
  custom: {
    50: '#b9ad65',
    500: '#968c1f',
    950: '#000000',
  },
}
SCSS
$custom: #968c1f;
$custom-light: #b9ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#968c1f",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 54.958,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62991,
    "c": 0.123,
    "h": 103.9
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

primary
#968C1F
secondary
#525BBF
accent
#4DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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