#968338#968338

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

Color values

HEX#968338
RGBrgb(150, 131, 56)
HSLhsl(48, 46%, 40%)
HSVhsv(48, 63%, 59%)
CMYKcmyk(0%, 12.7%, 62.7%, 41.2%)
CIE-LABlab(55.08, -2.14, 42.22)
CIE-LCHlch(55.08, 42.28, 92.90°)
OKLaboklab(61.2% -0.0087 0.0971)
OKLCHoklch(61.2% 0.098 95.1)
XYZxyz(21.4087, 23.0032, 7.0530)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968338 #384B96
analogous
#965438 #968338 #7A9638
triadic
#968338 #389683 #833896
tetradic
#968338 #389654 #384B96 #96387A
square
#968338 #389654 #384B96 #96387A
split-complementary
#968338 #387A96 #543896
monochromatic
#3D3517 #695C27 #968338 #BDA74E #CEBD7B

Accessibility & contrast

On white

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

On black

5.60
#968338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968338
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968338#FFFFFF#000000##000000
##9683381.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908030
Deuteranopia (green-blind)
#95863B
Tritanopia (blue-blind)
#A17A73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #968338;
/* rgb */ color: rgb(150, 131, 56);
/* oklch */ color: oklch(61.2% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#b7a672',
    500: '#968338',
    950: '#000000',
  },
}
SCSS
$custom: #968338;
$custom-light: #b7a672;
$custom-dark: #000000;
JSON
{
  "hex": "#968338",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 47.872,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.0975,
    "h": 95.1
  },
  "luminance": 0.23002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #968338

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

Preview Lab → · Contrast checker → · Palette generator →

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