#968225#968225

#968225 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.111 H 96.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#968225
RGBrgb(150, 130, 37)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 13.3%, 75.3%, 41.2%)
CIE-LABlab(54.64, -2.72, 50.14)
CIE-LCHlch(54.64, 50.21, 93.11°)
OKLaboklab(60.81% -0.0127 0.1106)
OKLCHoklch(60.81% 0.111 96.5)
XYZxyz(20.8953, 22.5840, 5.0084)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968225 #253996
analogous
#964A25 #968225 #729625
triadic
#968225 #259682 #822596
tetradic
#968225 #25964A #253996 #962572
square
#968225 #25964A #253996 #962572
split-complementary
#968225 #257296 #4A2596
monochromatic
#342D0D #655719 #968225 #C7AD31 #D7C25E

Accessibility & contrast

On white

3.81
#968225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#968225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968225
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968225#FFFFFF#000000##000000
##9682251.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968225;
/* rgb */ color: rgb(150, 130, 37);
/* oklch */ color: oklch(60.8% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#b8a666',
    500: '#968225',
    950: '#000000',
  },
}
SCSS
$custom: #968225;
$custom-light: #b8a666;
$custom-dark: #000000;
JSON
{
  "hex": "#968225",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 49.381,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.11129,
    "h": 96.5
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#968225
secondary
#5B6CBC
accent
#60E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968225

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

Preview Lab → · Contrast checker → · Palette generator →

#968225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva