#968126#968126

#968126 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.110 H 95.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#968126
RGBrgb(150, 129, 38)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 14%, 74.7%, 41.2%)
CIE-LABlab(54.37, -2.12, 49.48)
CIE-LCHlch(54.37, 49.53, 92.45°)
OKLaboklab(60.6% -0.0108 0.1094)
OKLCHoklch(60.6% 0.11 95.7)
XYZxyz(20.7789, 22.3256, 5.0481)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968126 #263B96
analogous
#964926 #968126 #739626
triadic
#968126 #269681 #812696
tetradic
#968126 #269649 #263B96 #962673
square
#968126 #269649 #263B96 #962673
split-complementary
#968126 #267396 #492696
monochromatic
#342D0D #65571A #968126 #C7AB32 #D7C060

Accessibility & contrast

On white

3.84
#968126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#968126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968126
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968126#FFFFFF#000000##000000
##9681261.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968126;
/* rgb */ color: rgb(150, 129, 38);
/* oklch */ color: oklch(60.6% 0.110 95.7);
Tailwind
colors: {
  custom: {
    50: '#b8a567',
    500: '#968126',
    950: '#000000',
  },
}
SCSS
$custom: #968126;
$custom-light: #b8a567;
$custom-dark: #000000;
JSON
{
  "hex": "#968126",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 48.75,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.10992,
    "h": 95.7
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#968126
secondary
#5C6EBC
accent
#63E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968126

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

Preview Lab → · Contrast checker → · Palette generator →

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