#968236#968236

#968236 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.098 H 94.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#968236
RGBrgb(150, 130, 54)
HSLhsl(48, 47%, 40%)
HSVhsv(48, 64%, 59%)
CMYKcmyk(0%, 13.3%, 64%, 41.2%)
CIE-LABlab(54.78, -1.73, 42.85)
CIE-LCHlch(54.78, 42.89, 92.31°)
OKLaboklab(60.96% -0.0078 0.0982)
OKLCHoklch(60.96% 0.098 94.5)
XYZxyz(21.2271, 22.7167, 6.7560)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968236 #364A96
analogous
#965236 #968236 #7A9636
triadic
#968236 #369682 #823696
tetradic
#968236 #369652 #364A96 #96367A
square
#968236 #369652 #364A96 #96367A
split-complementary
#968236 #367A96 #523696
monochromatic
#3C3416 #695B26 #968236 #BEA64B #CEBC78

Accessibility & contrast

On white

3.79
#968236 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#968236 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968236
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968236#FFFFFF#000000##000000
##9682361.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#A27872
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968236;
/* rgb */ color: rgb(150, 130, 54);
/* oklch */ color: oklch(61.0% 0.098 94.5);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#968236',
    950: '#000000',
  },
}
SCSS
$custom: #968236;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#968236",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 47.5,
    "s": 47.059,
    "l": 40
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.09847,
    "h": 94.5
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#968236
secondary
#717FB7
accent
#6DD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #968236

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

Preview Lab → · Contrast checker → · Palette generator →

#968236 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva