#9E8C19#9E8C19

#9E8C19 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.125 H 99.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9E8C19
RGBrgb(158, 140, 25)
HSLhsl(52, 73%, 36%)
HSVhsv(52, 84%, 62%)
CMYKcmyk(0%, 11.4%, 84.2%, 38%)
CIE-LABlab(58.13, -5.01, 57.60)
CIE-LCHlch(58.13, 57.81, 94.97°)
OKLaboklab(63.74% -0.0207 0.1237)
OKLCHoklch(63.74% 0.125 99.5)
XYZxyz(23.6553, 26.0967, 4.7107)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8C19 #192B9E
analogous
#9E4919 #9E8C19 #6D9E19
triadic
#9E8C19 #199E8C #8C199E
tetradic
#9E8C19 #199E49 #192B9E #9E196D
square
#9E8C19 #199E49 #192B9E #9E196D
split-complementary
#9E8C19 #196D9E #49199E
monochromatic
#342E08 #695D11 #9E8C19 #D3BB21 #E3CF4E

Accessibility & contrast

On white

3.38
#9E8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9E8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8C19
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8C19#FFFFFF#000000##000000
##9E8C191.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9F8F23
Tritanopia (blue-blind)
#AB8177
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e8c19;
/* rgb */ color: rgb(158, 140, 25);
/* oklch */ color: oklch(63.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#bfad62',
    500: '#9e8c19',
    950: '#000000',
  },
}
SCSS
$custom: #9e8c19;
$custom-light: #bfad62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8c19",
  "rgb": {
    "r": 158,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 51.88,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.12544,
    "h": 99.5
  },
  "luminance": 0.26095
}

Semantic roles & 50–950 ramp

primary
#9E8C19
secondary
#4E5EC5
accent
#51EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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