#968E1F#968E1F

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

Color values

HEX#968E1F
RGBrgb(150, 142, 31)
HSLhsl(56, 66%, 35%)
HSVhsv(56, 79%, 59%)
CMYKcmyk(0%, 5.3%, 79.3%, 41.2%)
CIE-LABlab(57.97, -9.54, 55.37)
CIE-LCHlch(57.97, 56.18, 99.78°)
OKLaboklab(63.44% -0.0325 0.1205)
OKLCHoklch(63.44% 0.125 105.1)
XYZxyz(22.4990, 25.9299, 5.1159)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E1F #1F2796
analogous
#96521F #968E1F #63961F
triadic
#968E1F #1F968E #8E1F96
tetradic
#968E1F #1F9652 #1F2796 #961F63
square
#968E1F #1F9652 #1F2796 #961F63
split-complementary
#968E1F #1F6396 #521F96
monochromatic
#312E0A #635E15 #968E1F #C9BE29 #DCD254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968E1F#FFFFFF#000000##000000
##968E1F1.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)
#9B8901
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A28479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968e1f;
/* rgb */ color: rgb(150, 142, 31);
/* oklch */ color: oklch(63.4% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#b9ae65',
    500: '#968e1f',
    950: '#000000',
  },
}
SCSS
$custom: #968e1f;
$custom-light: #b9ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#968e1f",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 55.966,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.12481,
    "h": 105.1
  },
  "luminance": 0.25929
}

Semantic roles & 50–950 ramp

primary
#968E1F
secondary
#5259BF
accent
#4BE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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