#968A2F#968A2F

#968A2F is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.111 H 101.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#968A2F
RGBrgb(150, 138, 47)
HSLhsl(53, 52%, 39%)
HSVhsv(53, 69%, 59%)
CMYKcmyk(0%, 8%, 68.7%, 41.2%)
CIE-LABlab(56.95, -6.59, 48.33)
CIE-LCHlch(56.95, 48.78, 97.77°)
OKLaboklab(62.66% -0.0225 0.1086)
OKLCHoklch(62.66% 0.111 101.7)
XYZxyz(22.1802, 24.8672, 6.3203)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A2F #2F3B96
analogous
#96562F #968A2F #6E962F
triadic
#968A2F #2F968A #8A2F96
tetradic
#968A2F #2F9656 #2F3B96 #962F6E
square
#968A2F #2F9656 #2F3B96 #962F6E
split-complementary
#968A2F #2F6E96 #562F96
monochromatic
#393412 #675F20 #968A2F #C3B43F #D2C66E

Accessibility & contrast

On white

3.52
#968A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#968A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A2F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A2F#FFFFFF#000000##000000
##968A2F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#A18077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a2f;
/* rgb */ color: rgb(150, 138, 47);
/* oklch */ color: oklch(62.7% 0.111 101.7);
Tailwind
colors: {
  custom: {
    50: '#b8ab6d',
    500: '#968a2f',
    950: '#000000',
  },
}
SCSS
$custom: #968a2f;
$custom-light: #b8ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968a2f",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 53.01,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.11095,
    "h": 101.7
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #968A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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