#968231#968231

#968231 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.103 H 95.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#968231
RGBrgb(150, 130, 49)
HSLhsl(48, 51%, 39%)
HSVhsv(48, 67%, 59%)
CMYKcmyk(0%, 13.3%, 67.3%, 41.2%)
CIE-LABlab(54.73, -2.06, 45.14)
CIE-LCHlch(54.73, 45.18, 92.61°)
OKLaboklab(60.91% -0.0094 0.1022)
OKLCHoklch(60.91% 0.103 95.2)
XYZxyz(21.1157, 22.6721, 6.1691)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968231 #314596
analogous
#965031 #968231 #789631
triadic
#968231 #319682 #823196
tetradic
#968231 #319650 #314596 #963178
square
#968231 #319650 #314596 #963178
split-complementary
#968231 #317896 #503196
monochromatic
#3A3213 #685A22 #968231 #C1A843 #D1BE71

Accessibility & contrast

On white

3.79
#968231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#968231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968231
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968231#FFFFFF#000000##000000
##9682311.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968231;
/* rgb */ color: rgb(150, 130, 49);
/* oklch */ color: oklch(60.9% 0.103 95.2);
Tailwind
colors: {
  custom: {
    50: '#b8a66d',
    500: '#968231',
    950: '#000000',
  },
}
SCSS
$custom: #968231;
$custom-light: #b8a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#968231",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 48.119,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.10265,
    "h": 95.2
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#968231
secondary
#6A7AB8
accent
#69DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #968231

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

Preview Lab → · Contrast checker → · Palette generator →

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