#968A26#968A26

#968A26 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.117 H 102.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#968A26
RGBrgb(150, 138, 38)
HSLhsl(54, 60%, 37%)
HSVhsv(54, 75%, 59%)
CMYKcmyk(0%, 8%, 74.7%, 41.2%)
CIE-LABlab(56.88, -7.07, 51.90)
CIE-LCHlch(56.88, 52.38, 97.76°)
OKLaboklab(62.59% -0.0249 0.1145)
OKLCHoklch(62.59% 0.117 102.3)
XYZxyz(22.0170, 24.8019, 5.4609)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A26 #263296
analogous
#965226 #968A26 #6A9626
triadic
#968A26 #26968A #8A2696
tetradic
#968A26 #269652 #263296 #96266A
square
#968A26 #269652 #263296 #96266A
split-complementary
#968A26 #266A96 #522696
monochromatic
#34300D #655D1A #968A26 #C7B732 #D7CA60

Accessibility & contrast

On white

3.52
#968A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#968A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A26
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A26#FFFFFF#000000##000000
##968A261.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#A28077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a26;
/* rgb */ color: rgb(150, 138, 38);
/* oklch */ color: oklch(62.6% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#b8ab68',
    500: '#968a26',
    950: '#000000',
  },
}
SCSS
$custom: #968a26;
$custom-light: #b8ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#968a26",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 53.571,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62588,
    "c": 0.11719,
    "h": 102.3
  },
  "luminance": 0.24801
}

Semantic roles & 50–950 ramp

primary
#968A26
secondary
#5C66BC
accent
#56E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A26

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

Preview Lab → · Contrast checker → · Palette generator →

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