#968123#968123

#968123 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#968123
RGBrgb(150, 129, 35)
HSLhsl(49, 62%, 36%)
HSVhsv(49, 77%, 59%)
CMYKcmyk(0%, 14%, 76.7%, 41.2%)
CIE-LABlab(54.35, -2.26, 50.63)
CIE-LCHlch(54.35, 50.68, 92.55°)
OKLaboklab(60.58% -0.0116 0.1112)
OKLCHoklch(60.58% 0.112 96)
XYZxyz(20.7324, 22.3070, 4.8034)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968123 #233896
analogous
#964823 #968123 #729623
triadic
#968123 #239681 #812396
tetradic
#968123 #239648 #233896 #962372
square
#968123 #239648 #233896 #962372
split-complementary
#968123 #237296 #482396
monochromatic
#332C0C #645617 #968123 #C8AC2F #D9C25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968123#FFFFFF#000000##000000
##9681231.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)
#8F7E12
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968123;
/* rgb */ color: rgb(150, 129, 35);
/* oklch */ color: oklch(60.6% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#b9a565',
    500: '#968123',
    950: '#000000',
  },
}
SCSS
$custom: #968123;
$custom-light: #b9a565;
$custom-dark: #000000;
JSON
{
  "hex": "#968123",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 49.043,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.1118,
    "h": 96
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#968123
secondary
#586ABD
accent
#60E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968123

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

Preview Lab → · Contrast checker → · Palette generator →

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