#968335#968335

#968335 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.100 H 95.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#968335
RGBrgb(150, 131, 53)
HSLhsl(48, 48%, 40%)
HSVhsv(48, 65%, 59%)
CMYKcmyk(0%, 12.7%, 64.7%, 41.2%)
CIE-LABlab(55.05, -2.35, 43.62)
CIE-LCHlch(55.05, 43.68, 93.09°)
OKLaboklab(61.17% -0.0097 0.0996)
OKLCHoklch(61.17% 0.1 95.6)
XYZxyz(21.3375, 22.9747, 6.6781)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968335 #354896
analogous
#965235 #968335 #799635
triadic
#968335 #359683 #833596
tetradic
#968335 #359652 #354896 #963579
square
#968335 #359652 #354896 #963579
split-complementary
#968335 #357996 #523596
monochromatic
#3C3415 #695C25 #968335 #BFA849 #CFBE77

Accessibility & contrast

On white

3.75
#968335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#968335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968335
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968335#FFFFFF#000000##000000
##9683351.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802C
Deuteranopia (green-blind)
#958639
Tritanopia (blue-blind)
#A27972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #968335;
/* rgb */ color: rgb(150, 131, 53);
/* oklch */ color: oklch(61.2% 0.100 95.6);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#968335',
    950: '#000000',
  },
}
SCSS
$custom: #968335;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#968335",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 48.247,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.10011,
    "h": 95.6
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#968335
secondary
#6F7EB7
accent
#6BD750
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #968335

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

Preview Lab → · Contrast checker → · Palette generator →

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