#968C26#968C26

#968C26 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.119 H 103.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#968C26
RGBrgb(150, 140, 38)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 59%)
CMYKcmyk(0%, 6.7%, 74.7%, 41.2%)
CIE-LABlab(57.44, -8.16, 52.44)
CIE-LCHlch(57.44, 53.07, 98.84°)
OKLaboklab(63.04% -0.028 0.1157)
OKLCHoklch(63.04% 0.119 103.6)
XYZxyz(22.3066, 25.3811, 5.5574)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C26 #263096
analogous
#965426 #968C26 #689626
triadic
#968C26 #26968C #8C2696
tetradic
#968C26 #269654 #263096 #962668
square
#968C26 #269654 #263096 #962668
split-complementary
#968C26 #266896 #542696
monochromatic
#34310D #655E1A #968C26 #C7BA32 #D7CC60

Accessibility & contrast

On white

3.46
#968C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#968C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C26
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C26#FFFFFF#000000##000000
##968C261.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998713
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c26;
/* rgb */ color: rgb(150, 140, 38);
/* oklch */ color: oklch(63.0% 0.119 103.6);
Tailwind
colors: {
  custom: {
    50: '#b8ad68',
    500: '#968c26',
    950: '#000000',
  },
}
SCSS
$custom: #968c26;
$custom-light: #b8ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#968c26",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 54.643,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.11899,
    "h": 103.6
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#968C26
secondary
#5C64BC
accent
#53E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968C26

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

Preview Lab → · Contrast checker → · Palette generator →

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