#968238#968238

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

Color values

HEX#968238
RGBrgb(150, 130, 56)
HSLhsl(47, 46%, 40%)
HSVhsv(47, 63%, 59%)
CMYKcmyk(0%, 13.3%, 62.7%, 41.2%)
CIE-LABlab(54.80, -1.58, 41.91)
CIE-LCHlch(54.80, 41.94, 92.16°)
OKLaboklab(60.98% -0.0071 0.0964)
OKLCHoklch(60.98% 0.097 94.2)
XYZxyz(21.2751, 22.7359, 7.0085)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968238 #384C96
analogous
#965338 #968238 #7B9638
triadic
#968238 #389682 #823896
tetradic
#968238 #389653 #384C96 #96387B
square
#968238 #389653 #384C96 #96387B
split-complementary
#968238 #387B96 #533896
monochromatic
#3D3517 #695B27 #968238 #BDA54E #CEBC7B

Accessibility & contrast

On white

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

On black

5.55
#968238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968238
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968238#FFFFFF#000000##000000
##9682381.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8030
Deuteranopia (green-blind)
#94863B
Tritanopia (blue-blind)
#A17972
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968238;
/* rgb */ color: rgb(150, 130, 56);
/* oklch */ color: oklch(61.0% 0.097 94.2);
Tailwind
colors: {
  custom: {
    50: '#b7a672',
    500: '#968238',
    950: '#000000',
  },
}
SCSS
$custom: #968238;
$custom-light: #b7a672;
$custom-dark: #000000;
JSON
{
  "hex": "#968238",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 47.234,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.09671,
    "h": 94.2
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#968238
secondary
#7381B7
accent
#6ED552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #968238

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

Preview Lab → · Contrast checker → · Palette generator →

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