#968F2F#968F2F

#968F2F is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.116 H 105.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#968F2F
RGBrgb(150, 143, 47)
HSLhsl(56, 52%, 39%)
HSVhsv(56, 69%, 59%)
CMYKcmyk(0%, 4.7%, 68.7%, 41.2%)
CIE-LABlab(58.35, -9.30, 49.77)
CIE-LCHlch(58.35, 50.63, 100.58°)
OKLaboklab(63.78% -0.0302 0.1117)
OKLCHoklch(63.78% 0.116 105.1)
XYZxyz(22.9141, 26.3350, 6.5649)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968F2F #2F3696
analogous
#965B2F #968F2F #69962F
triadic
#968F2F #2F968F #8F2F96
tetradic
#968F2F #2F965B #2F3696 #962F69
square
#968F2F #2F965B #2F3696 #962F69
split-complementary
#968F2F #2F6996 #5B2F96
monochromatic
#393612 #676320 #968F2F #C3BA3F #D2CB6E

Accessibility & contrast

On white

3.35
#968F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#968F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968F2F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968F2F#FFFFFF#000000##000000
##968F2F1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A1857C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968f2f;
/* rgb */ color: rgb(150, 143, 47);
/* oklch */ color: oklch(63.8% 0.116 105.1);
Tailwind
colors: {
  custom: {
    50: '#b8af6d',
    500: '#968f2f',
    950: '#000000',
  },
}
SCSS
$custom: #968f2f;
$custom-light: #b8af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968f2f",
  "rgb": {
    "r": 150,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 55.922,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63779,
    "c": 0.11569,
    "h": 105.1
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#968F2F
secondary
#686DB9
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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