#968C2D#968C2D

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

Color values

HEX#968C2D
RGBrgb(150, 140, 45)
HSLhsl(54, 54%, 38%)
HSVhsv(54, 70%, 59%)
CMYKcmyk(0%, 6.7%, 70%, 41.2%)
CIE-LABlab(57.49, -7.79, 49.73)
CIE-LCHlch(57.49, 50.34, 98.91°)
OKLaboklab(63.09% -0.0262 0.1112)
OKLCHoklch(63.09% 0.114 103.2)
XYZxyz(22.4303, 25.4306, 6.2092)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C2D #2D3796
analogous
#96572D #968C2D #6B962D
triadic
#968C2D #2D968C #8C2D96
tetradic
#968C2D #2D9657 #2D3796 #962D6B
square
#968C2D #2D9657 #2D3796 #962D6B
split-complementary
#968C2D #2D6B96 #572D96
monochromatic
#383411 #67601F #968C2D #C4B73C #D3C96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C2D#FFFFFF#000000##000000
##968C2D1.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)
#99871F
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c2d;
/* rgb */ color: rgb(150, 140, 45);
/* oklch */ color: oklch(63.1% 0.114 103.2);
Tailwind
colors: {
  custom: {
    50: '#b8ad6c',
    500: '#968c2d',
    950: '#000000',
  },
}
SCSS
$custom: #968c2d;
$custom-light: #b8ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#968c2d",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 54.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63089,
    "c": 0.11427,
    "h": 103.2
  },
  "luminance": 0.2543
}

Semantic roles & 50–950 ramp

primary
#968C2D
secondary
#656DB9
accent
#59DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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