#968B28#968B28

#968B28 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.117 H 102.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#968B28
RGBrgb(150, 139, 40)
HSLhsl(54, 58%, 37%)
HSVhsv(54, 73%, 59%)
CMYKcmyk(0%, 7.3%, 73.3%, 41.2%)
CIE-LABlab(57.18, -7.52, 51.42)
CIE-LCHlch(57.18, 51.97, 98.32°)
OKLaboklab(62.83% -0.026 0.1139)
OKLCHoklch(62.83% 0.117 102.8)
XYZxyz(22.1943, 25.1034, 5.6834)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B28 #283396
analogous
#965428 #968B28 #6A9628
triadic
#968B28 #28968B #8B2896
tetradic
#968B28 #289654 #283396 #96286A
square
#968B28 #289654 #283396 #96286A
split-complementary
#968B28 #286A96 #542896
monochromatic
#35310E #665E1B #968B28 #C6B835 #D5CA63

Accessibility & contrast

On white

3.49
#968B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#968B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B28
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B28#FFFFFF#000000##000000
##968B281.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988617
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A28178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b28;
/* rgb */ color: rgb(150, 139, 40);
/* oklch */ color: oklch(62.8% 0.117 102.8);
Tailwind
colors: {
  custom: {
    50: '#b8ac69',
    500: '#968b28',
    950: '#000000',
  },
}
SCSS
$custom: #968b28;
$custom-light: #b8ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#968b28",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 54,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.1168,
    "h": 102.8
  },
  "luminance": 0.25102
}

Semantic roles & 50–950 ramp

primary
#968B28
secondary
#5F68BB
accent
#56E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #968B28

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

Preview Lab → · Contrast checker → · Palette generator →

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