#9B962F#9B962F

#9B962F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.122 H 106.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9B962F
RGBrgb(155, 150, 47)
HSLhsl(57, 53%, 40%)
HSVhsv(57, 70%, 61%)
CMYKcmyk(0%, 3.2%, 69.7%, 39.2%)
CIE-LABlab(60.77, -10.81, 52.36)
CIE-LCHlch(60.77, 53.46, 101.67°)
OKLaboklab(65.81% -0.0348 0.117)
OKLCHoklch(65.81% 0.122 106.6)
XYZxyz(24.9379, 28.9874, 6.9703)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B962F #2F349B
analogous
#9B602F #9B962F #6A9B2F
triadic
#9B962F #2F9B96 #962F9B
tetradic
#9B962F #2F9B60 #2F349B #9B2F6A
square
#9B962F #2F9B60 #2F349B #9B2F6A
split-complementary
#9B962F #2F6A9B #602F9B
monochromatic
#3D3B13 #6C6921 #9B962F #C6BF42 #D4CF71

Accessibility & contrast

On white

3.09
#9B962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9B962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B962F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B962F#FFFFFF#000000##000000
##9B962F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901F
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A68C81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b962f;
/* rgb */ color: rgb(155, 150, 47);
/* oklch */ color: oklch(65.8% 0.122 106.6);
Tailwind
colors: {
  custom: {
    50: '#bcb46e',
    500: '#9b962f',
    950: '#000000',
  },
}
SCSS
$custom: #9b962f;
$custom-light: #bcb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b962f",
  "rgb": {
    "r": 155,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 57.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.12203,
    "h": 106.6
  },
  "luminance": 0.28986
}

Semantic roles & 50–950 ramp

primary
#9B962F
secondary
#6A6EBB
accent
#52DD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B962F

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

Preview Lab → · Contrast checker → · Palette generator →

#9B962F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva