#968C2F#968C2F

#968C2F is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.113 H 103.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#968C2F
RGBrgb(150, 140, 47)
HSLhsl(54, 52%, 39%)
HSVhsv(54, 69%, 59%)
CMYKcmyk(0%, 6.7%, 68.7%, 41.2%)
CIE-LABlab(57.51, -7.68, 48.91)
CIE-LCHlch(57.51, 49.51, 98.92°)
OKLaboklab(63.11% -0.0256 0.1099)
OKLCHoklch(63.11% 0.113 103.1)
XYZxyz(22.4698, 25.4463, 6.4168)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C2F #2F3996
analogous
#96582F #968C2F #6C962F
triadic
#968C2F #2F968C #8C2F96
tetradic
#968C2F #2F9658 #2F3996 #962F6C
square
#968C2F #2F9658 #2F3996 #962F6C
split-complementary
#968C2F #2F6C96 #582F96
monochromatic
#393512 #676120 #968C2F #C3B63F #D2C86E

Accessibility & contrast

On white

3.45
#968C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#968C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C2F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C2F#FFFFFF#000000##000000
##968C2F1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998722
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c2f;
/* rgb */ color: rgb(150, 140, 47);
/* oklch */ color: oklch(63.1% 0.113 103.1);
Tailwind
colors: {
  custom: {
    50: '#b8ad6d',
    500: '#968c2f',
    950: '#000000',
  },
}
SCSS
$custom: #968c2f;
$custom-light: #b8ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968c2f",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 54.175,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63106,
    "c": 0.1128,
    "h": 103.1
  },
  "luminance": 0.25445
}

Semantic roles & 50–950 ramp

primary
#968C2F
secondary
#6870B9
accent
#5ADC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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