#9E8934#9E8934

#9E8934 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.107 H 95.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E8934
RGBrgb(158, 137, 52)
HSLhsl(48, 50%, 41%)
HSVhsv(48, 67%, 62%)
CMYKcmyk(0%, 13.3%, 67.1%, 38%)
CIE-LABlab(57.47, -2.13, 46.92)
CIE-LCHlch(57.47, 46.96, 92.60°)
OKLaboklab(63.27% -0.0097 0.1062)
OKLCHoklch(63.27% 0.107 95.2)
XYZxyz(23.6672, 25.4096, 6.9061)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8934 #34499E
analogous
#9E5434 #9E8934 #7E9E34
triadic
#9E8934 #349E89 #89349E
tetradic
#9E8934 #349E54 #34499E #9E347E
square
#9E8934 #349E54 #34499E #9E347E
split-complementary
#9E8934 #347E9E #54349E
monochromatic
#423916 #706125 #9E8934 #C4AC4B #D3C179

Accessibility & contrast

On white

3.45
#9E8934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9E8934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8934
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8934#FFFFFF#000000##000000
##9E89341.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97862A
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#AA7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8934;
/* rgb */ color: rgb(158, 137, 52);
/* oklch */ color: oklch(63.3% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#beab70',
    500: '#9e8934',
    950: '#000000',
  },
}
SCSS
$custom: #9e8934;
$custom-light: #beab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8934",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 48.113,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6327,
    "c": 0.10667,
    "h": 95.2
  },
  "luminance": 0.25408
}

Semantic roles & 50–950 ramp

primary
#9E8934
secondary
#7281BC
accent
#6ADA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8934

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

Preview Lab → · Contrast checker → · Palette generator →

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