#9A962E#9A962E

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

Color values

HEX#9A962E
RGBrgb(154, 150, 46)
HSLhsl(58, 54%, 39%)
HSVhsv(58, 70%, 60%)
CMYKcmyk(0%, 2.6%, 70.1%, 39.6%)
CIE-LABlab(60.68, -11.31, 52.63)
CIE-LCHlch(60.68, 53.83, 102.13°)
OKLaboklab(65.71% -0.0362 0.1174)
OKLCHoklch(65.71% 0.123 107.2)
XYZxyz(24.7268, 28.8808, 6.8563)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A962E #2E329A
analogous
#9A602E #9A962E #689A2E
triadic
#9A962E #2E9A96 #962E9A
tetradic
#9A962E #2E9A60 #2E329A #9A2E68
square
#9A962E #2E9A60 #2E329A #9A2E68
split-complementary
#9A962E #2E689A #602E9A
monochromatic
#3C3A12 #6B6820 #9A962E #C6C13F #D4D06F

Accessibility & contrast

On white

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

On black

6.78
#9A962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A962E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A962E#FFFFFF#000000##000000
##9A962E1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a962e;
/* rgb */ color: rgb(154, 150, 46);
/* oklch */ color: oklch(65.7% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#bbb46d',
    500: '#9a962e',
    950: '#000000',
  },
}
SCSS
$custom: #9a962e;
$custom-light: #bbb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a962e",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 57.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.12287,
    "h": 107.2
  },
  "luminance": 0.2888
}

Semantic roles & 50–950 ramp

primary
#9A962E
secondary
#696CBB
accent
#50DD4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A962E

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

Preview Lab → · Contrast checker → · Palette generator →

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