#968C25#968C25

#968C25 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.120 H 103.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#968C25
RGBrgb(150, 140, 37)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 59%)
CMYKcmyk(0%, 6.7%, 75.3%, 41.2%)
CIE-LABlab(57.44, -8.20, 52.81)
CIE-LCHlch(57.44, 53.44, 98.83°)
OKLaboklab(63.03% -0.0282 0.1162)
OKLCHoklch(63.03% 0.12 103.6)
XYZxyz(22.2907, 25.3747, 5.4736)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968C25 #252F96
analogous
#965425 #968C25 #689625
triadic
#968C25 #25968C #8C2596
tetradic
#968C25 #259654 #252F96 #962568
square
#968C25 #259654 #252F96 #962568
split-complementary
#968C25 #256896 #542596
monochromatic
#34300D #655E19 #968C25 #C7BA31 #D7CD5E

Accessibility & contrast

On white

3.46
#968C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#968C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968C25
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968C25#FFFFFF#000000##000000
##968C251.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998711
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #968c25;
/* rgb */ color: rgb(150, 140, 37);
/* oklch */ color: oklch(63.0% 0.120 103.6);
Tailwind
colors: {
  custom: {
    50: '#b8ad68',
    500: '#968c25',
    950: '#000000',
  },
}
SCSS
$custom: #968c25;
$custom-light: #b8ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#968c25",
  "rgb": {
    "r": 150,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 54.69,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.1196,
    "h": 103.6
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#968C25
secondary
#5B63BC
accent
#52E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968C25

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

Preview Lab → · Contrast checker → · Palette generator →

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