#968022#968022

#968022 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.3% C 0.112 H 95.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#968022
RGBrgb(150, 128, 34)
HSLhsl(49, 63%, 36%)
HSVhsv(49, 77%, 59%)
CMYKcmyk(0%, 14.7%, 77.3%, 41.2%)
CIE-LABlab(54.07, -1.74, 50.74)
CIE-LCHlch(54.07, 50.77, 91.97°)
OKLaboklab(60.35% -0.0102 0.1112)
OKLCHoklch(60.35% 0.112 95.3)
XYZxyz(20.5867, 22.0390, 4.6827)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968022 #223896
analogous
#964622 #968022 #729622
triadic
#968022 #229680 #802296
tetradic
#968022 #229646 #223896 #962272
square
#968022 #229646 #223896 #962272
split-complementary
#968022 #227296 #462296
monochromatic
#322B0B #645517 #968022 #C8AB2D #D9C159

Accessibility & contrast

On white

3.88
#968022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#968022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968022
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968022#FFFFFF#000000##000000
##9680221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#A2756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #968022;
/* rgb */ color: rgb(150, 128, 34);
/* oklch */ color: oklch(60.3% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#b9a465',
    500: '#968022',
    950: '#000000',
  },
}
SCSS
$custom: #968022;
$custom-light: #b9a465;
$custom-dark: #000000;
JSON
{
  "hex": "#968022",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 48.621,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.1117,
    "h": 95.3
  },
  "luminance": 0.22038
}

Semantic roles & 50–950 ramp

primary
#968022
secondary
#566ABE
accent
#61E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968022

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

Preview Lab → · Contrast checker → · Palette generator →

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