#968A38#968A38

#968A38 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.104 H 101.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#968A38
RGBrgb(150, 138, 56)
HSLhsl(52, 46%, 40%)
HSVhsv(52, 63%, 59%)
CMYKcmyk(0%, 8%, 62.7%, 41.2%)
CIE-LABlab(57.02, -6.00, 44.37)
CIE-LCHlch(57.02, 44.77, 97.70°)
OKLaboklab(62.75% -0.0198 0.1017)
OKLCHoklch(62.75% 0.104 101)
XYZxyz(22.3808, 24.9474, 7.3770)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A38 #384496
analogous
#965B38 #968A38 #739638
triadic
#968A38 #38968A #8A3896
tetradic
#968A38 #38965B #384496 #963873
square
#968A38 #38965B #384496 #963873
split-complementary
#968A38 #387396 #5B3896
monochromatic
#3D3817 #696127 #968A38 #BDAF4E #CEC37B

Accessibility & contrast

On white

3.51
#968A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#968A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A38
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A38#FFFFFF#000000##000000
##968A381.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#A18178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968a38;
/* rgb */ color: rgb(150, 138, 56);
/* oklch */ color: oklch(62.7% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#b7ab72',
    500: '#968a38',
    950: '#000000',
  },
}
SCSS
$custom: #968a38;
$custom-light: #b7ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#968a38",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 52.34,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62746,
    "c": 0.10359,
    "h": 101
  },
  "luminance": 0.24947
}

Semantic roles & 50–950 ramp

primary
#968A38
secondary
#737CB7
accent
#63D552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #968A38

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

Preview Lab → · Contrast checker → · Palette generator →

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