#968B23#968B23

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

Color values

HEX#968B23
RGBrgb(150, 139, 35)
HSLhsl(54, 62%, 36%)
HSVhsv(54, 77%, 59%)
CMYKcmyk(0%, 7.3%, 76.7%, 41.2%)
CIE-LABlab(57.15, -7.75, 53.25)
CIE-LCHlch(57.15, 53.81, 98.28°)
OKLaboklab(62.79% -0.0271 0.1168)
OKLCHoklch(62.79% 0.12 103.1)
XYZxyz(22.1147, 25.0716, 5.2642)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968B23 #232E96
analogous
#965223 #968B23 #689623
triadic
#968B23 #23968B #8B2396
tetradic
#968B23 #239652 #232E96 #962368
square
#968B23 #239652 #232E96 #962368
split-complementary
#968B23 #236896 #522396
monochromatic
#332F0C #645D17 #968B23 #C8B92F #D9CD5B

Accessibility & contrast

On white

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

On black

6.01
#968B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968B23
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968B23#FFFFFF#000000##000000
##968B231.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860D
Deuteranopia (green-blind)
#9C8B2B
Tritanopia (blue-blind)
#A28177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #968b23;
/* rgb */ color: rgb(150, 139, 35);
/* oklch */ color: oklch(62.8% 0.120 103.1);
Tailwind
colors: {
  custom: {
    50: '#b8ac67',
    500: '#968b23',
    950: '#000000',
  },
}
SCSS
$custom: #968b23;
$custom-light: #b8ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#968b23",
  "rgb": {
    "r": 150,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 54.261,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.1199,
    "h": 103.1
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#968B23
secondary
#5861BD
accent
#52E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968B23

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

Preview Lab → · Contrast checker → · Palette generator →

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