#968C2E#968C2E

#968C2E 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#968C2E
RGBrgb(150, 140, 46)
HSLhsl(54, 53%, 38%)
HSVhsv(54, 69%, 59%)
CMYKcmyk(0%, 6.7%, 69.3%, 41.2%)
CIE-LABlab(57.50, -7.74, 49.32)
CIE-LCHlch(57.50, 49.92, 98.92°)
OKLaboklab(63.1% -0.0259 0.1106)
OKLCHoklch(63.1% 0.114 103.2)
XYZxyz(22.4498, 25.4384, 6.3118)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C2E #2E3896
analogous
#96582E #968C2E #6C962E
triadic
#968C2E #2E968C #8C2E96
tetradic
#968C2E #2E9658 #2E3896 #962E6C
square
#968C2E #2E9658 #2E3896 #962E6C
split-complementary
#968C2E #2E6C96 #582E96
monochromatic
#383511 #676020 #968C2E #C4B73E #D2C86C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968C2E#FFFFFF#000000##000000
##968C2E1.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)
#998721
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#A18279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c2e;
/* rgb */ color: rgb(150, 140, 46);
/* oklch */ color: oklch(63.1% 0.114 103.2);
Tailwind
colors: {
  custom: {
    50: '#b8ad6c',
    500: '#968c2e',
    950: '#000000',
  },
}
SCSS
$custom: #968c2e;
$custom-light: #b8ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#968c2e",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 54.231,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.11355,
    "h": 103.2
  },
  "luminance": 0.25437
}

Semantic roles & 50–950 ramp

primary
#968C2E
secondary
#676FB9
accent
#59DC4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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