#968A25#968A25

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

Color values

HEX#968A25
RGBrgb(150, 138, 37)
HSLhsl(54, 60%, 37%)
HSVhsv(54, 75%, 59%)
CMYKcmyk(0%, 8%, 75.3%, 41.2%)
CIE-LABlab(56.88, -7.12, 52.27)
CIE-LCHlch(56.88, 52.75, 97.76°)
OKLaboklab(62.58% -0.0251 0.1151)
OKLCHoklch(62.58% 0.118 102.3)
XYZxyz(22.0011, 24.7955, 5.3770)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968A25 #253196
analogous
#965225 #968A25 #6A9625
triadic
#968A25 #25968A #8A2596
tetradic
#968A25 #259652 #253196 #96256A
square
#968A25 #259652 #253196 #96256A
split-complementary
#968A25 #256A96 #522596
monochromatic
#34300D #655D19 #968A25 #C7B731 #D7CA5E

Accessibility & contrast

On white

3.52
#968A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##968A25#FFFFFF#000000##000000
##968A251.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978612
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#A28076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #968a25;
/* rgb */ color: rgb(150, 138, 37);
/* oklch */ color: oklch(62.6% 0.118 102.3);
Tailwind
colors: {
  custom: {
    50: '#b8ab67',
    500: '#968a25',
    950: '#000000',
  },
}
SCSS
$custom: #968a25;
$custom-light: #b8ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#968a25",
  "rgb": {
    "r": 150,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 53.628,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62581,
    "c": 0.11782,
    "h": 102.3
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#968A25
secondary
#5B65BC
accent
#55E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968A25

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

Preview Lab → · Contrast checker → · Palette generator →

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