#968E2F#968E2F

#968E2F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.115 H 104.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#968E2F
RGBrgb(150, 142, 47)
HSLhsl(55, 52%, 39%)
HSVhsv(55, 69%, 59%)
CMYKcmyk(0%, 5.3%, 68.7%, 41.2%)
CIE-LABlab(58.07, -8.76, 49.48)
CIE-LCHlch(58.07, 50.25, 100.04°)
OKLaboklab(63.55% -0.0287 0.1111)
OKLCHoklch(63.55% 0.115 104.5)
XYZxyz(22.7647, 26.0361, 6.5151)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E2F #2F3796
analogous
#965A2F #968E2F #6A962F
triadic
#968E2F #2F968E #8E2F96
tetradic
#968E2F #2F965A #2F3796 #962F6A
square
#968E2F #2F965A #2F3796 #962F6A
split-complementary
#968E2F #2F6A96 #5A2F96
monochromatic
#393612 #676220 #968E2F #C3B93F #D2CA6E

Accessibility & contrast

On white

3.38
#968E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#968E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968E2F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968E2F#FFFFFF#000000##000000
##968E2F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#A1847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968e2f;
/* rgb */ color: rgb(150, 142, 47);
/* oklch */ color: oklch(63.6% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b8ae6d',
    500: '#968e2f',
    950: '#000000',
  },
}
SCSS
$custom: #968e2f;
$custom-light: #b8ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#968e2f",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 55.34,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63554,
    "c": 0.11471,
    "h": 104.5
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#968E2F
secondary
#686EB9
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #968E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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