#968725#968725

#968725 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.115 H 100.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#968725
RGBrgb(150, 135, 37)
HSLhsl(52, 60%, 37%)
HSVhsv(52, 75%, 59%)
CMYKcmyk(0%, 10%, 75.3%, 41.2%)
CIE-LABlab(56.03, -5.48, 51.47)
CIE-LCHlch(56.03, 51.76, 96.08°)
OKLaboklab(61.91% -0.0205 0.1134)
OKLCHoklch(61.91% 0.115 100.3)
XYZxyz(21.5766, 23.9466, 5.2355)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968725 #253496
analogous
#964E25 #968725 #6D9625
triadic
#968725 #259687 #872596
tetradic
#968725 #25964E #253496 #96256D
square
#968725 #25964E #253496 #96256D
split-complementary
#968725 #256D96 #4E2596
monochromatic
#342F0D #655B19 #968725 #C7B331 #D7C75E

Accessibility & contrast

On white

3.63
#968725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#968725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968725
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968725#FFFFFF#000000##000000
##9687251.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968725;
/* rgb */ color: rgb(150, 135, 37);
/* oklch */ color: oklch(61.9% 0.115 100.3);
Tailwind
colors: {
  custom: {
    50: '#b8a967',
    500: '#968725',
    950: '#000000',
  },
}
SCSS
$custom: #968725;
$custom-light: #b8a967;
$custom-dark: #000000;
JSON
{
  "hex": "#968725",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 52.035,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.11524,
    "h": 100.3
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#968725
secondary
#5B67BC
accent
#59E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968725

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

Preview Lab → · Contrast checker → · Palette generator →

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