#9E8723#9E8723

#9E8723 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.117 H 95.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9E8723
RGBrgb(158, 135, 35)
HSLhsl(49, 64%, 38%)
HSVhsv(49, 78%, 62%)
CMYKcmyk(0%, 14.6%, 77.8%, 38%)
CIE-LABlab(56.80, -1.91, 53.21)
CIE-LCHlch(56.80, 53.24, 92.06°)
OKLaboklab(62.7% -0.0111 0.1163)
OKLCHoklch(62.7% 0.117 95.4)
XYZxyz(23.0691, 24.7197, 5.1461)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8723 #233A9E
analogous
#9E4923 #9E8723 #789E23
triadic
#9E8723 #239E87 #87239E
tetradic
#9E8723 #239E49 #233A9E #9E2378
square
#9E8723 #239E49 #233A9E #9E2378
split-complementary
#9E8723 #23789E #49239E
monochromatic
#3A310D #6C5C18 #9E8723 #D0B22E #DCC560

Accessibility & contrast

On white

3.53
#9E8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9E8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8723
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8723#FFFFFF#000000##000000
##9E87231.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#AB7C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8723;
/* rgb */ color: rgb(158, 135, 35);
/* oklch */ color: oklch(62.7% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#bfa966',
    500: '#9e8723',
    950: '#000000',
  },
}
SCSS
$custom: #9e8723;
$custom-light: #bfa966;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8723",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 48.78,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.627,
    "c": 0.11686,
    "h": 95.4
  },
  "luminance": 0.24718
}

Semantic roles & 50–950 ramp

primary
#9E8723
secondary
#5C6FC1
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8723

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

Preview Lab → · Contrast checker → · Palette generator →

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