#968F38#968F38

#968F38 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.108 H 104.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#968F38
RGBrgb(150, 143, 56)
HSLhsl(56, 46%, 40%)
HSVhsv(56, 63%, 59%)
CMYKcmyk(0%, 4.7%, 62.7%, 41.2%)
CIE-LABlab(58.43, -8.72, 45.90)
CIE-LCHlch(58.43, 46.72, 100.76°)
OKLaboklab(63.86% -0.0275 0.1049)
OKLCHoklch(63.86% 0.108 104.7)
XYZxyz(23.1148, 26.4153, 7.6217)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968F38 #383F96
analogous
#966038 #968F38 #6E9638
triadic
#968F38 #38968F #8F3896
tetradic
#968F38 #389660 #383F96 #96386E
square
#968F38 #389660 #383F96 #96386E
split-complementary
#968F38 #386E96 #603896
monochromatic
#3D3A17 #696527 #968F38 #BDB54E #CEC77B

Accessibility & contrast

On white

3.34
#968F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#968F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968F38
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968F38#FFFFFF#000000##000000
##968F381.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2E
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#A1867D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968f38;
/* rgb */ color: rgb(150, 143, 56);
/* oklch */ color: oklch(63.9% 0.108 104.7);
Tailwind
colors: {
  custom: {
    50: '#b7af73',
    500: '#968f38',
    950: '#000000',
  },
}
SCSS
$custom: #968f38;
$custom-light: #b7af73;
$custom-dark: #000000;
JSON
{
  "hex": "#968f38",
  "rgb": {
    "r": 150,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 55.532,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.10849,
    "h": 104.7
  },
  "luminance": 0.26414
}

Semantic roles & 50–950 ramp

primary
#968F38
secondary
#7378B7
accent
#5CD552
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #968F38

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

Preview Lab → · Contrast checker → · Palette generator →

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