#968229#968229

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

Color values

HEX#968229
RGBrgb(150, 130, 41)
HSLhsl(49, 57%, 37%)
HSVhsv(49, 73%, 59%)
CMYKcmyk(0%, 13.3%, 72.7%, 41.2%)
CIE-LABlab(54.67, -2.52, 48.55)
CIE-LCHlch(54.67, 48.62, 92.97°)
OKLaboklab(60.84% -0.0117 0.108)
OKLCHoklch(60.84% 0.109 96.2)
XYZxyz(20.9616, 22.6105, 5.3576)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968229 #293D96
analogous
#964C29 #968229 #739629
triadic
#968229 #299682 #822996
tetradic
#968229 #29964C #293D96 #962973
square
#968229 #29964C #293D96 #962973
split-complementary
#968229 #297396 #4C2996
monochromatic
#362F0F #66581C #968229 #C6AC36 #D5C065

Accessibility & contrast

On white

3.80
#968229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##968229#FFFFFF#000000##000000
##9682291.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968229;
/* rgb */ color: rgb(150, 130, 41);
/* oklch */ color: oklch(60.8% 0.109 96.2);
Tailwind
colors: {
  custom: {
    50: '#b8a669',
    500: '#968229',
    950: '#000000',
  },
}
SCSS
$custom: #968229;
$custom-light: #b8a669;
$custom-dark: #000000;
JSON
{
  "hex": "#968229",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 48.991,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.10864,
    "h": 96.2
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#968229
secondary
#6071BB
accent
#64E047
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968229

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

Preview Lab → · Contrast checker → · Palette generator →

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