#968128#968128

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

Color values

HEX#968128
RGBrgb(150, 129, 40)
HSLhsl(49, 58%, 37%)
HSVhsv(49, 73%, 59%)
CMYKcmyk(0%, 14%, 73.3%, 41.2%)
CIE-LABlab(54.38, -2.02, 48.69)
CIE-LCHlch(54.38, 48.73, 92.37°)
OKLaboklab(60.61% -0.0103 0.1081)
OKLCHoklch(60.61% 0.109 95.5)
XYZxyz(20.8120, 22.3389, 5.2227)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968128 #283D96
analogous
#964A28 #968128 #749628
triadic
#968128 #289681 #812896
tetradic
#968128 #28964A #283D96 #962874
square
#968128 #28964A #283D96 #962874
split-complementary
#968128 #287496 #4A2896
monochromatic
#352E0E #66571B #968128 #C6AB35 #D5C063

Accessibility & contrast

On white

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

On black

5.47
#968128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968128
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968128#FFFFFF#000000##000000
##9681281.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #968128;
/* rgb */ color: rgb(150, 129, 40);
/* oklch */ color: oklch(60.6% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#b8a568',
    500: '#968128',
    950: '#000000',
  },
}
SCSS
$custom: #968128;
$custom-light: #b8a568;
$custom-dark: #000000;
JSON
{
  "hex": "#968128",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 48.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.10858,
    "h": 95.5
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#968128
secondary
#5F70BB
accent
#64E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968128

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

Preview Lab → · Contrast checker → · Palette generator →

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