#968120#968120

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

Color values

HEX#968120
RGBrgb(150, 129, 32)
HSLhsl(49, 65%, 36%)
HSVhsv(49, 79%, 59%)
CMYKcmyk(0%, 14%, 78.7%, 41.2%)
CIE-LABlab(54.33, -2.39, 51.71)
CIE-LCHlch(54.33, 51.77, 92.64°)
OKLaboklab(60.56% -0.0123 0.1129)
OKLCHoklch(60.56% 0.114 96.2)
XYZxyz(20.6898, 22.2900, 4.5788)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968120 #203596
analogous
#964620 #968120 #709620
triadic
#968120 #209681 #812096
tetradic
#968120 #209646 #203596 #962070
square
#968120 #209646 #203596 #962070
split-complementary
#968120 #207096 #462096
monochromatic
#312A0A #645615 #968120 #C8AC2B #DBC356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968120#FFFFFF#000000##000000
##9681201.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)
#8F7E0B
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968120;
/* rgb */ color: rgb(150, 129, 32);
/* oklch */ color: oklch(60.6% 0.114 96.2);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#968120',
    950: '#000000',
  },
}
SCSS
$custom: #968120;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#968120",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 49.322,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.11356,
    "h": 96.2
  },
  "luminance": 0.22289
}

Semantic roles & 50–950 ramp

primary
#968120
secondary
#5366BE
accent
#5EE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968120

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

Preview Lab → · Contrast checker → · Palette generator →

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