#9E9D38#9E9D38

#9E9D38 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.122 H 108.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9E9D38
RGBrgb(158, 157, 56)
HSLhsl(59, 48%, 42%)
HSVhsv(59, 65%, 62%)
CMYKcmyk(0%, 0.6%, 64.6%, 38%)
CIE-LABlab(63.07, -12.65, 51.06)
CIE-LCHlch(63.07, 52.60, 103.91°)
OKLaboklab(67.73% -0.0392 0.1156)
OKLCHoklch(67.73% 0.122 108.7)
XYZxyz(26.8722, 31.6693, 8.4379)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D38 #38399E
analogous
#9E6A38 #9E9D38 #6C9E38
triadic
#9E9D38 #389E9D #9D389E
tetradic
#9E9D38 #389E6A #38399E #9E386C
square
#9E9D38 #389E6A #38399E #9E386C
split-complementary
#9E9D38 #386C9E #6A389E
monochromatic
#444318 #717028 #9E9D38 #C2C052 #D2D17F

Accessibility & contrast

On white

2.86
#9E9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#9E9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D38
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D38#FFFFFF#000000##000000
##9E9D381.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972B
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#A99388
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9d38;
/* rgb */ color: rgb(158, 157, 56);
/* oklch */ color: oklch(67.7% 0.122 108.7);
Tailwind
colors: {
  custom: {
    50: '#bdb974',
    500: '#9e9d38',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d38;
$custom-light: #bdb974;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d38",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 59.412,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.12208,
    "h": 108.7
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#9E9D38
secondary
#7778BB
accent
#52D751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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