#9B982E#9B982E

#9B982E is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.125 H 107.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9B982E
RGBrgb(155, 152, 46)
HSLhsl(58, 54%, 39%)
HSVhsv(58, 70%, 61%)
CMYKcmyk(0%, 1.9%, 70.3%, 39.2%)
CIE-LABlab(61.33, -11.93, 53.31)
CIE-LCHlch(61.33, 54.63, 102.61°)
OKLaboklab(66.25% -0.038 0.1188)
OKLCHoklch(66.25% 0.125 107.8)
XYZxyz(25.2399, 29.6231, 6.9725)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B982E #2E319B
analogous
#9B622E #9B982E #679B2E
triadic
#9B982E #2E9B98 #982E9B
tetradic
#9B982E #2E9B62 #2E319B #9B2E67
square
#9B982E #2E9B62 #2E319B #9B2E67
split-complementary
#9B982E #2E679B #622E9B
monochromatic
#3D3B12 #6C6A20 #9B982E #C6C340 #D4D26F

Accessibility & contrast

On white

3.03
#9B982E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#9B982E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B982E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B982E#FFFFFF#000000##000000
##9B982E1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A68E83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b982e;
/* rgb */ color: rgb(155, 152, 46);
/* oklch */ color: oklch(66.3% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#bcb66e',
    500: '#9b982e',
    950: '#000000',
  },
}
SCSS
$custom: #9b982e;
$custom-light: #bcb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b982e",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 58.349,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.12473,
    "h": 107.8
  },
  "luminance": 0.29622
}

Semantic roles & 50–950 ramp

primary
#9B982E
secondary
#696BBC
accent
#4EDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B982E

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

Preview Lab → · Contrast checker → · Palette generator →

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