#968A2D#968A2D

#968A2D is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.112 H 101.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#968A2D
RGBrgb(150, 138, 45)
HSLhsl(53, 54%, 38%)
HSVhsv(53, 70%, 59%)
CMYKcmyk(0%, 8%, 70%, 41.2%)
CIE-LABlab(56.93, -6.71, 49.16)
CIE-LCHlch(56.93, 49.62, 97.77°)
OKLaboklab(62.64% -0.0231 0.11)
OKLCHoklch(62.64% 0.112 101.9)
XYZxyz(22.1408, 24.8514, 6.1127)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A2D #2D3996
analogous
#96552D #968A2D #6D962D
triadic
#968A2D #2D968A #8A2D96
tetradic
#968A2D #2D9655 #2D3996 #962D6D
square
#968A2D #2D9655 #2D3996 #962D6D
split-complementary
#968A2D #2D6D96 #552D96
monochromatic
#383311 #675F1F #968A2D #C4B53C #D3C76B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968A2D#FFFFFF#000000##000000
##968A2D1.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)
#978620
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#A18077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a2d;
/* rgb */ color: rgb(150, 138, 45);
/* oklch */ color: oklch(62.6% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab6c',
    500: '#968a2d',
    950: '#000000',
  },
}
SCSS
$custom: #968a2d;
$custom-light: #b8ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#968a2d",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 53.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62642,
    "c": 0.11243,
    "h": 101.9
  },
  "luminance": 0.2485
}

Semantic roles & 50–950 ramp

primary
#968A2D
secondary
#656FB9
accent
#5BDD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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