#9A7E1E#9A7E1E

#9A7E1E is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.113 H 91.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9A7E1E
RGBrgb(154, 126, 30)
HSLhsl(46, 67%, 36%)
HSVhsv(46, 81%, 60%)
CMYKcmyk(0%, 18.2%, 80.5%, 39.6%)
CIE-LABlab(53.91, 1.06, 52.18)
CIE-LCHlch(53.91, 52.19, 88.84°)
OKLaboklab(60.31% -0.0029 0.1133)
OKLCHoklch(60.31% 0.113 91.5)
XYZxyz(21.0229, 21.8868, 4.3453)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7E1E #1E3A9A
analogous
#9A401E #9A7E1E #789A1E
triadic
#9A7E1E #1E9A7E #7E1E9A
tetradic
#9A7E1E #1E9A40 #1E3A9A #9A1E78
square
#9A7E1E #1E9A40 #1E3A9A #9A1E78
split-complementary
#9A7E1E #1E789A #401E9A
monochromatic
#342A0A #675414 #9A7E1E #CDA828 #DEBF55

Accessibility & contrast

On white

3.91
#9A7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9A7E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7E1E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7E1E#FFFFFF#000000##000000
##9A7E1E1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#A7736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a7e1e;
/* rgb */ color: rgb(154, 126, 30);
/* oklch */ color: oklch(60.3% 0.113 91.5);
Tailwind
colors: {
  custom: {
    50: '#bca363',
    500: '#9a7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9a7e1e;
$custom-light: #bca363;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7e1e",
  "rgb": {
    "r": 154,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 46.452,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.11331,
    "h": 91.5
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#9A7E1E
secondary
#536CC1
accent
#65EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9A7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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