#9E8628#9E8628

#9E8628 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.113 H 94.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E8628
RGBrgb(158, 134, 40)
HSLhsl(48, 60%, 39%)
HSVhsv(48, 75%, 62%)
CMYKcmyk(0%, 15.2%, 74.7%, 38%)
CIE-LABlab(56.56, -1.13, 51.09)
CIE-LCHlch(56.56, 51.10, 91.27°)
OKLaboklab(62.52% -0.0083 0.1129)
OKLCHoklch(62.52% 0.113 94.2)
XYZxyz(23.0099, 24.4738, 5.5190)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8628 #28409E
analogous
#9E4B28 #9E8628 #7B9E28
triadic
#9E8628 #289E86 #86289E
tetradic
#9E8628 #289E4B #28409E #9E287B
square
#9E8628 #289E4B #28409E #9E287B
split-complementary
#9E8628 #287B9E #4B289E
monochromatic
#3C330F #6D5D1C #9E8628 #CCAE37 #D9C268

Accessibility & contrast

On white

3.56
#9E8628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9E8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8628
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8628#FFFFFF#000000##000000
##9E86281.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958319
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#AB7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8628;
/* rgb */ color: rgb(158, 134, 40);
/* oklch */ color: oklch(62.5% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#bea869',
    500: '#9e8628',
    950: '#000000',
  },
}
SCSS
$custom: #9e8628;
$custom-light: #bea869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8628",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 47.797,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.11315,
    "h": 94.2
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#9E8628
secondary
#6376BF
accent
#65E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E8628

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

Preview Lab → · Contrast checker → · Palette generator →

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