#968C38#968C38

#968C38 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.105 H 102.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#968C38
RGBrgb(150, 140, 56)
HSLhsl(54, 46%, 40%)
HSVhsv(54, 63%, 59%)
CMYKcmyk(0%, 6.7%, 62.7%, 41.2%)
CIE-LABlab(57.58, -7.09, 44.98)
CIE-LCHlch(57.58, 45.54, 98.96°)
OKLaboklab(63.19% -0.0229 0.103)
OKLCHoklch(63.19% 0.106 102.5)
XYZxyz(22.6704, 25.5266, 7.4736)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C38 #384296
analogous
#965D38 #968C38 #719638
triadic
#968C38 #38968C #8C3896
tetradic
#968C38 #38965D #384296 #963871
square
#968C38 #38965D #384296 #963871
split-complementary
#968C38 #387196 #5D3896
monochromatic
#3D3917 #696227 #968C38 #BDB14E #CEC57B

Accessibility & contrast

On white

3.44
#968C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#968C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C38
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C38#FFFFFF#000000##000000
##968C381.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882E
Deuteranopia (green-blind)
#9B8C3D
Tritanopia (blue-blind)
#A1837A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c38;
/* rgb */ color: rgb(150, 140, 56);
/* oklch */ color: oklch(63.2% 0.105 102.5);
Tailwind
colors: {
  custom: {
    50: '#b7ad72',
    500: '#968c38',
    950: '#000000',
  },
}
SCSS
$custom: #968c38;
$custom-light: #b7ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#968c38",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 53.617,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.1055,
    "h": 102.5
  },
  "luminance": 0.25526
}

Semantic roles & 50–950 ramp

primary
#968C38
secondary
#737AB7
accent
#60D552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #968C38

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

Preview Lab → · Contrast checker → · Palette generator →

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