#968223#968223

#968223 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.113 H 96.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#968223
RGBrgb(150, 130, 35)
HSLhsl(50, 62%, 36%)
HSVhsv(50, 77%, 59%)
CMYKcmyk(0%, 13.3%, 76.7%, 41.2%)
CIE-LABlab(54.63, -2.81, 50.89)
CIE-LCHlch(54.63, 50.97, 93.16°)
OKLaboklab(60.8% -0.0132 0.1118)
OKLCHoklch(60.8% 0.113 96.7)
XYZxyz(20.8648, 22.5718, 4.8476)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968223 #233796
analogous
#964923 #968223 #719623
triadic
#968223 #239682 #822396
tetradic
#968223 #239649 #233796 #962371
square
#968223 #239649 #233796 #962371
split-complementary
#968223 #237196 #492396
monochromatic
#332C0C #645717 #968223 #C8AD2F #D9C35B

Accessibility & contrast

On white

3.81
#968223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#968223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968223
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968223#FFFFFF#000000##000000
##9682231.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968223;
/* rgb */ color: rgb(150, 130, 35);
/* oklch */ color: oklch(60.8% 0.113 96.7);
Tailwind
colors: {
  custom: {
    50: '#b9a665',
    500: '#968223',
    950: '#000000',
  },
}
SCSS
$custom: #968223;
$custom-light: #b9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#968223",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 49.565,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.11253,
    "h": 96.7
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#968223
secondary
#5869BD
accent
#5FE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968223

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

Preview Lab → · Contrast checker → · Palette generator →

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