#968D2F#968D2F

#968D2F is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.114 H 103.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#968D2F
RGBrgb(150, 141, 47)
HSLhsl(55, 52%, 39%)
HSVhsv(55, 69%, 59%)
CMYKcmyk(0%, 6%, 68.7%, 41.2%)
CIE-LABlab(57.79, -8.22, 49.20)
CIE-LCHlch(57.79, 49.88, 99.49°)
OKLaboklab(63.33% -0.0272 0.1105)
OKLCHoklch(63.33% 0.114 103.8)
XYZxyz(22.6165, 25.7399, 6.4657)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D2F #2F3896
analogous
#96592F #968D2F #6B962F
triadic
#968D2F #2F968D #8D2F96
tetradic
#968D2F #2F9659 #2F3896 #962F6B
square
#968D2F #2F9659 #2F3896 #962F6B
split-complementary
#968D2F #2F6B96 #592F96
monochromatic
#393512 #676120 #968D2F #C3B73F #D2C96E

Accessibility & contrast

On white

3.42
#968D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#968D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D2F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D2F#FFFFFF#000000##000000
##968D2F1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A1837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d2f;
/* rgb */ color: rgb(150, 141, 47);
/* oklch */ color: oklch(63.3% 0.114 103.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae6d',
    500: '#968d2f',
    950: '#000000',
  },
}
SCSS
$custom: #968d2f;
$custom-light: #b8ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968d2f",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 54.757,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63329,
    "c": 0.11375,
    "h": 103.8
  },
  "luminance": 0.25739
}

Semantic roles & 50–950 ramp

primary
#968D2F
secondary
#686FB9
accent
#59DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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