#9A962D#9A962D

#9A962D is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.124 H 107.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9A962D
RGBrgb(154, 150, 45)
HSLhsl(58, 55%, 39%)
HSVhsv(58, 71%, 60%)
CMYKcmyk(0%, 2.6%, 70.8%, 39.6%)
CIE-LABlab(60.67, -11.37, 53.02)
CIE-LCHlch(60.67, 54.22, 102.10°)
OKLaboklab(65.7% -0.0365 0.118)
OKLCHoklch(65.7% 0.124 107.2)
XYZxyz(24.7074, 28.8730, 6.7537)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A962D #2D319A
analogous
#9A602D #9A962D #689A2D
triadic
#9A962D #2D9A96 #962D9A
tetradic
#9A962D #2D9A60 #2D319A #9A2D68
square
#9A962D #2D9A60 #2D319A #9A2D68
split-complementary
#9A962D #2D689A #602D9A
monochromatic
#3B3A11 #6B681F #9A962D #C7C13E #D4D16D

Accessibility & contrast

On white

3.10
#9A962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9A962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A962D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A962D#FFFFFF#000000##000000
##9A962D1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#A58C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a962d;
/* rgb */ color: rgb(154, 150, 45);
/* oklch */ color: oklch(65.7% 0.124 107.2);
Tailwind
colors: {
  custom: {
    50: '#bbb46d',
    500: '#9a962d',
    950: '#000000',
  },
}
SCSS
$custom: #9a962d;
$custom-light: #bbb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a962d",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 57.798,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65704,
    "c": 0.12356,
    "h": 107.2
  },
  "luminance": 0.28872
}

Semantic roles & 50–950 ramp

primary
#9A962D
secondary
#676ABB
accent
#4FDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A962D

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

Preview Lab → · Contrast checker → · Palette generator →

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