#968726#968726

#968726 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.115 H 100.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#968726
RGBrgb(150, 135, 38)
HSLhsl(52, 60%, 37%)
HSVhsv(52, 75%, 59%)
CMYKcmyk(0%, 10%, 74.7%, 41.2%)
CIE-LABlab(56.04, -5.43, 51.09)
CIE-LCHlch(56.04, 51.38, 96.07°)
OKLaboklab(61.92% -0.0203 0.1128)
OKLCHoklch(61.92% 0.115 100.2)
XYZxyz(21.5925, 23.9529, 5.3194)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968726 #263596
analogous
#964F26 #968726 #6D9626
triadic
#968726 #269687 #872696
tetradic
#968726 #26964F #263596 #96266D
square
#968726 #26964F #263596 #96266D
split-complementary
#968726 #266D96 #4F2696
monochromatic
#342F0D #655B1A #968726 #C7B332 #D7C760

Accessibility & contrast

On white

3.63
#968726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#968726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968726
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968726#FFFFFF#000000##000000
##9687261.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948315
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968726;
/* rgb */ color: rgb(150, 135, 38);
/* oklch */ color: oklch(61.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#b8a968',
    500: '#968726',
    950: '#000000',
  },
}
SCSS
$custom: #968726;
$custom-light: #b8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#968726",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 51.964,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.11461,
    "h": 100.2
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#968726
secondary
#5C69BC
accent
#5AE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968726

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

Preview Lab → · Contrast checker → · Palette generator →

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