#9E892D#9E892D

#9E892D is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.112 H 96.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9E892D
RGBrgb(158, 137, 45)
HSLhsl(49, 56%, 40%)
HSVhsv(49, 72%, 62%)
CMYKcmyk(0%, 13.3%, 71.5%, 38%)
CIE-LABlab(57.42, -2.54, 49.90)
CIE-LCHlch(57.42, 49.96, 92.91°)
OKLaboklab(63.21% -0.0117 0.1113)
OKLCHoklch(63.21% 0.112 96)
XYZxyz(23.5210, 25.3511, 6.1365)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E892D #2D429E
analogous
#9E512D #9E892D #7A9E2D
triadic
#9E892D #2D9E89 #892D9E
tetradic
#9E892D #2D9E51 #2D429E #9E2D7A
square
#9E892D #2D9E51 #2D429E #9E2D7A
split-complementary
#9E892D #2D7A9E #512D9E
monochromatic
#3F3612 #6E601F #9E892D #C9AF40 #D6C36F

Accessibility & contrast

On white

3.46
#9E892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9E892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E892D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E892D#FFFFFF#000000##000000
##9E892D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e892d;
/* rgb */ color: rgb(158, 137, 45);
/* oklch */ color: oklch(63.2% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#beab6c',
    500: '#9e892d',
    950: '#000000',
  },
}
SCSS
$custom: #9e892d;
$custom-light: #beab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e892d",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 48.85,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63207,
    "c": 0.11193,
    "h": 96
  },
  "luminance": 0.2535
}

Semantic roles & 50–950 ramp

primary
#9E892D
secondary
#6979BD
accent
#65DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E892D

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

Preview Lab → · Contrast checker → · Palette generator →

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