#968D38#968D38

#968D38 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.106 H 103.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#968D38
RGBrgb(150, 141, 56)
HSLhsl(54, 46%, 40%)
HSVhsv(54, 63%, 59%)
CMYKcmyk(0%, 6%, 62.7%, 41.2%)
CIE-LABlab(57.87, -7.64, 45.29)
CIE-LCHlch(57.87, 45.93, 99.57°)
OKLaboklab(63.42% -0.0245 0.1036)
OKLCHoklch(63.42% 0.106 103.3)
XYZxyz(22.8172, 25.8202, 7.5225)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D38 #384196
analogous
#965E38 #968D38 #709638
triadic
#968D38 #38968D #8D3896
tetradic
#968D38 #38965E #384196 #963870
square
#968D38 #38965E #384196 #963870
split-complementary
#968D38 #387096 #5E3896
monochromatic
#3D3917 #696327 #968D38 #BDB24E #CEC67B

Accessibility & contrast

On white

3.41
#968D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#968D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D38
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D38#FFFFFF#000000##000000
##968D381.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99892E
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#A1847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d38;
/* rgb */ color: rgb(150, 141, 56);
/* oklch */ color: oklch(63.4% 0.106 103.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae72',
    500: '#968d38',
    950: '#000000',
  },
}
SCSS
$custom: #968d38;
$custom-light: #b7ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#968d38",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 54.255,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63415,
    "c": 0.10648,
    "h": 103.3
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #968D38

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

Preview Lab → · Contrast checker → · Palette generator →

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