#968E38#968E38

#968E38 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.107 H 104.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#968E38
RGBrgb(150, 142, 56)
HSLhsl(55, 46%, 40%)
HSVhsv(55, 63%, 59%)
CMYKcmyk(0%, 5.3%, 62.7%, 41.2%)
CIE-LABlab(58.15, -8.18, 45.59)
CIE-LCHlch(58.15, 46.32, 100.17°)
OKLaboklab(63.64% -0.026 0.1043)
OKLCHoklch(63.64% 0.107 104)
XYZxyz(22.9653, 26.1164, 7.5719)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968E38 #384096
analogous
#965F38 #968E38 #6F9638
triadic
#968E38 #38968E #8E3896
tetradic
#968E38 #38965F #384096 #96386F
square
#968E38 #38965F #384096 #96386F
split-complementary
#968E38 #386F96 #5F3896
monochromatic
#3D3A17 #696427 #968E38 #BDB44E #CEC77B

Accessibility & contrast

On white

3.37
#968E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#968E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968E38
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968E38#FFFFFF#000000##000000
##968E381.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #968e38;
/* rgb */ color: rgb(150, 142, 56);
/* oklch */ color: oklch(63.6% 0.107 104.0);
Tailwind
colors: {
  custom: {
    50: '#b7ae72',
    500: '#968e38',
    950: '#000000',
  },
}
SCSS
$custom: #968e38;
$custom-light: #b7ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#968e38",
  "rgb": {
    "r": 150,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 54.894,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.10747,
    "h": 104
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#968E38
secondary
#7379B7
accent
#5ED552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #968E38

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

Preview Lab → · Contrast checker → · Palette generator →

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