#968B2F#968B2F

#968B2F is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.112 H 102.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#968B2F
RGBrgb(150, 139, 47)
HSLhsl(54, 52%, 39%)
HSVhsv(54, 69%, 59%)
CMYKcmyk(0%, 7.3%, 68.7%, 41.2%)
CIE-LABlab(57.23, -7.14, 48.62)
CIE-LCHlch(57.23, 49.14, 98.35°)
OKLaboklab(62.88% -0.0241 0.1092)
OKLCHoklch(62.88% 0.112 102.4)
XYZxyz(22.3243, 25.1554, 6.3683)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B2F #2F3A96
analogous
#96572F #968B2F #6D962F
triadic
#968B2F #2F968B #8B2F96
tetradic
#968B2F #2F9657 #2F3A96 #962F6D
square
#968B2F #2F9657 #2F3A96 #962F6D
split-complementary
#968B2F #2F6D96 #572F96
monochromatic
#393512 #676020 #968B2F #C3B53F #D2C76E

Accessibility & contrast

On white

3.48
#968B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#968B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B2F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B2F#FFFFFF#000000##000000
##968B2F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#A18178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b2f;
/* rgb */ color: rgb(150, 139, 47);
/* oklch */ color: oklch(62.9% 0.112 102.4);
Tailwind
colors: {
  custom: {
    50: '#b8ac6d',
    500: '#968b2f',
    950: '#000000',
  },
}
SCSS
$custom: #968b2f;
$custom-light: #b8ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968b2f",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 53.592,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62882,
    "c": 0.11186,
    "h": 102.4
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#968B2F
secondary
#6871B9
accent
#5BDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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