#968A23#968A23

#968A23 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.119 H 102.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#968A23
RGBrgb(150, 138, 35)
HSLhsl(54, 62%, 36%)
HSVhsv(54, 77%, 59%)
CMYKcmyk(0%, 8%, 76.7%, 41.2%)
CIE-LABlab(56.86, -7.21, 52.99)
CIE-LCHlch(56.86, 53.48, 97.75°)
OKLaboklab(62.57% -0.0256 0.1162)
OKLCHoklch(62.57% 0.119 102.4)
XYZxyz(21.9705, 24.7833, 5.2162)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A23 #232F96
analogous
#965123 #968A23 #699623
triadic
#968A23 #23968A #8A2396
tetradic
#968A23 #239651 #232F96 #962369
square
#968A23 #239651 #232F96 #962369
split-complementary
#968A23 #236996 #512396
monochromatic
#332F0C #645C17 #968A23 #C8B82F #D9CC5B

Accessibility & contrast

On white

3.53
#968A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#968A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968A23
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968A23#FFFFFF#000000##000000
##968A231.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a23;
/* rgb */ color: rgb(150, 138, 35);
/* oklch */ color: oklch(62.6% 0.119 102.4);
Tailwind
colors: {
  custom: {
    50: '#b8ab66',
    500: '#968a23',
    950: '#000000',
  },
}
SCSS
$custom: #968a23;
$custom-light: #b8ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#968a23",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 53.739,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62568,
    "c": 0.11902,
    "h": 102.4
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#968A23
secondary
#5862BD
accent
#54E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A23

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

Preview Lab → · Contrast checker → · Palette generator →

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