#968226#968226

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

Color values

HEX#968226
RGBrgb(150, 130, 38)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 59%)
CMYKcmyk(0%, 13.3%, 74.7%, 41.2%)
CIE-LABlab(54.65, -2.67, 49.75)
CIE-LCHlch(54.65, 49.82, 93.07°)
OKLaboklab(60.82% -0.0124 0.11)
OKLCHoklch(60.82% 0.111 96.5)
XYZxyz(20.9112, 22.5903, 5.0923)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968226 #263A96
analogous
#964A26 #968226 #729626
triadic
#968226 #269682 #822696
tetradic
#968226 #26964A #263A96 #962672
square
#968226 #26964A #263A96 #962672
split-complementary
#968226 #267296 #4A2696
monochromatic
#342D0D #65581A #968226 #C7AC32 #D7C160

Accessibility & contrast

On white

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

On black

5.52
#968226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968226
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968226#FFFFFF#000000##000000
##9682261.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#95852C
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968226;
/* rgb */ color: rgb(150, 130, 38);
/* oklch */ color: oklch(60.8% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#b8a667',
    500: '#968226',
    950: '#000000',
  },
}
SCSS
$custom: #968226;
$custom-light: #b8a667;
$custom-dark: #000000;
JSON
{
  "hex": "#968226",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 49.286,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.11065,
    "h": 96.5
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#968226
secondary
#5C6DBC
accent
#61E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968226

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

Preview Lab → · Contrast checker → · Palette generator →

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