#968125#968125

#968125 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.111 H 95.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#968125
RGBrgb(150, 129, 37)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 14%, 75.3%, 41.2%)
CIE-LABlab(54.36, -2.16, 49.87)
CIE-LCHlch(54.36, 49.92, 92.48°)
OKLaboklab(60.59% -0.0111 0.11)
OKLCHoklch(60.59% 0.111 95.8)
XYZxyz(20.7629, 22.3192, 4.9643)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968125 #253A96
analogous
#964925 #968125 #739625
triadic
#968125 #259681 #812596
tetradic
#968125 #259649 #253A96 #962573
square
#968125 #259649 #253A96 #962573
split-complementary
#968125 #257396 #492596
monochromatic
#342D0D #655719 #968125 #C7AB31 #D7C15E

Accessibility & contrast

On white

3.84
#968125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#968125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968125
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968125#FFFFFF#000000##000000
##9681251.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968125;
/* rgb */ color: rgb(150, 129, 37);
/* oklch */ color: oklch(60.6% 0.111 95.8);
Tailwind
colors: {
  custom: {
    50: '#b8a566',
    500: '#968125',
    950: '#000000',
  },
}
SCSS
$custom: #968125;
$custom-light: #b8a566;
$custom-dark: #000000;
JSON
{
  "hex": "#968125",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 48.85,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.11056,
    "h": 95.8
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#968125
secondary
#5B6DBC
accent
#62E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968125

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

Preview Lab → · Contrast checker → · Palette generator →

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