#9E8724#9E8724

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

Color values

HEX#9E8724
RGBrgb(158, 135, 36)
HSLhsl(49, 63%, 38%)
HSVhsv(49, 77%, 62%)
CMYKcmyk(0%, 14.6%, 77.2%, 38%)
CIE-LABlab(56.81, -1.87, 52.85)
CIE-LCHlch(56.81, 52.88, 92.02°)
OKLaboklab(62.71% -0.0108 0.1158)
OKLCHoklch(62.71% 0.116 95.3)
XYZxyz(23.0842, 24.7257, 5.2254)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8724 #243B9E
analogous
#9E4A24 #9E8724 #789E24
triadic
#9E8724 #249E87 #87249E
tetradic
#9E8724 #249E4A #243B9E #9E2478
square
#9E8724 #249E4A #243B9E #9E2478
split-complementary
#9E8724 #24789E #4A249E
monochromatic
#3A320D #6C5C19 #9E8724 #D0B22F #DBC461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8724#FFFFFF#000000##000000
##9E87241.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)
#968411
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#AB7C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8724;
/* rgb */ color: rgb(158, 135, 36);
/* oklch */ color: oklch(62.7% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#bea967',
    500: '#9e8724',
    950: '#000000',
  },
}
SCSS
$custom: #9e8724;
$custom-light: #bea967;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8724",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 48.689,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.11629,
    "h": 95.3
  },
  "luminance": 0.24724
}

Semantic roles & 50–950 ramp

primary
#9E8724
secondary
#5E70C0
accent
#61E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8724

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

Preview Lab → · Contrast checker → · Palette generator →

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