#9A841D#9A841D

#9A841D is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.118 H 96.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9A841D
RGBrgb(154, 132, 29)
HSLhsl(49, 68%, 36%)
HSVhsv(49, 81%, 60%)
CMYKcmyk(0%, 14.3%, 81.2%, 39.6%)
CIE-LABlab(55.55, -2.32, 53.99)
CIE-LCHlch(55.55, 54.04, 92.46°)
OKLaboklab(61.6% -0.0126 0.1169)
OKLCHoklch(61.6% 0.118 96.1)
XYZxyz(21.8007, 23.4625, 4.5426)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A841D #1D339A
analogous
#9A451D #9A841D #719A1D
triadic
#9A841D #1D9A84 #841D9A
tetradic
#9A841D #1D9A45 #1D339A #9A1D71
square
#9A841D #1D9A45 #1D339A #9A1D71
split-complementary
#9A841D #1D719A #451D9A
monochromatic
#332C0A #665813 #9A841D #CEB027 #DFC653

Accessibility & contrast

On white

3.69
#9A841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#9A841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A841D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A841D#FFFFFF#000000##000000
##9A841D1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#A77971
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a841d;
/* rgb */ color: rgb(154, 132, 29);
/* oklch */ color: oklch(61.6% 0.118 96.1);
Tailwind
colors: {
  custom: {
    50: '#bca763',
    500: '#9a841d',
    950: '#000000',
  },
}
SCSS
$custom: #9a841d;
$custom-light: #bca763;
$custom-dark: #000000;
JSON
{
  "hex": "#9a841d",
  "rgb": {
    "r": 154,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 49.44,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.11762,
    "h": 96.1
  },
  "luminance": 0.23461
}

Semantic roles & 50–950 ramp

primary
#9A841D
secondary
#5165C2
accent
#5BEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A841D

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

Preview Lab → · Contrast checker → · Palette generator →

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