#9A962F#9A962F

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

Color values

HEX#9A962F
RGBrgb(154, 150, 47)
HSLhsl(58, 53%, 39%)
HSVhsv(58, 69%, 60%)
CMYKcmyk(0%, 2.6%, 69.5%, 39.6%)
CIE-LABlab(60.68, -11.26, 52.24)
CIE-LCHlch(60.68, 53.44, 102.16°)
OKLaboklab(65.72% -0.036 0.1168)
OKLCHoklch(65.72% 0.122 107.1)
XYZxyz(24.7468, 28.8888, 6.9613)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A962F #2F339A
analogous
#9A612F #9A962F #699A2F
triadic
#9A962F #2F9A96 #962F9A
tetradic
#9A962F #2F9A61 #2F339A #9A2F69
square
#9A962F #2F9A61 #2F339A #9A2F69
split-complementary
#9A962F #2F699A #612F9A
monochromatic
#3C3B12 #6B6821 #9A962F #C5C041 #D3D070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A962F#FFFFFF#000000##000000
##9A962F1.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)
#A3901F
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A58C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9a962f;
/* rgb */ color: rgb(154, 150, 47);
/* oklch */ color: oklch(65.7% 0.122 107.1);
Tailwind
colors: {
  custom: {
    50: '#bbb46e',
    500: '#9a962f',
    950: '#000000',
  },
}
SCSS
$custom: #9a962f;
$custom-light: #bbb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a962f",
  "rgb": {
    "r": 154,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 57.757,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.12217,
    "h": 107.1
  },
  "luminance": 0.28888
}

Semantic roles & 50–950 ramp

primary
#9A962F
secondary
#6A6DBB
accent
#51DD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9A962F

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

Preview Lab → · Contrast checker → · Palette generator →

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