#968122#968122

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

Color values

HEX#968122
RGBrgb(150, 129, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 77%, 59%)
CMYKcmyk(0%, 14%, 77.3%, 41.2%)
CIE-LABlab(54.35, -2.30, 51.00)
CIE-LCHlch(54.35, 51.05, 92.58°)
OKLaboklab(60.57% -0.0118 0.1118)
OKLCHoklch(60.57% 0.112 96)
XYZxyz(20.7178, 22.3012, 4.7264)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968122 #223796
analogous
#964722 #968122 #719622
triadic
#968122 #229681 #812296
tetradic
#968122 #229647 #223796 #962271
square
#968122 #229647 #223796 #962271
split-complementary
#968122 #227196 #472296
monochromatic
#322B0B #645617 #968122 #C8AC2D #D9C259

Accessibility & contrast

On white

3.85
#968122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##968122#FFFFFF#000000##000000
##9681221.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968122;
/* rgb */ color: rgb(150, 129, 34);
/* oklch */ color: oklch(60.6% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#b9a565',
    500: '#968122',
    950: '#000000',
  },
}
SCSS
$custom: #968122;
$custom-light: #b9a565;
$custom-dark: #000000;
JSON
{
  "hex": "#968122",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 49.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60568,
    "c": 0.1124,
    "h": 96
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#968122
secondary
#5669BE
accent
#5FE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968122

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

Preview Lab → · Contrast checker → · Palette generator →

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