#968D25#968D25

#968D25 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.121 H 104.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#968D25
RGBrgb(150, 141, 37)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 59%)
CMYKcmyk(0%, 6%, 75.3%, 41.2%)
CIE-LABlab(57.72, -8.75, 53.07)
CIE-LCHlch(57.72, 53.79, 99.36°)
OKLaboklab(63.25% -0.0297 0.1168)
OKLCHoklch(63.25% 0.121 104.3)
XYZxyz(22.4375, 25.6683, 5.5225)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D25 #252E96
analogous
#965525 #968D25 #679625
triadic
#968D25 #25968D #8D2596
tetradic
#968D25 #259655 #252E96 #962567
square
#968D25 #259655 #252E96 #962567
split-complementary
#968D25 #256796 #552596
monochromatic
#34310D #655F19 #968D25 #C7BB31 #D7CE5E

Accessibility & contrast

On white

3.42
#968D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#968D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D25
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D25#FFFFFF#000000##000000
##968D251.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d25;
/* rgb */ color: rgb(150, 141, 37);
/* oklch */ color: oklch(63.3% 0.121 104.3);
Tailwind
colors: {
  custom: {
    50: '#b8ae68',
    500: '#968d25',
    950: '#000000',
  },
}
SCSS
$custom: #968d25;
$custom-light: #b8ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#968d25",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 55.221,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63253,
    "c": 0.12052,
    "h": 104.3
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#968D25
secondary
#5B62BC
accent
#51E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D25

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

Preview Lab → · Contrast checker → · Palette generator →

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