#9E7C15#9E7C15

#9E7C15 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.3% C 0.117 H 88.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9E7C15
RGBrgb(158, 124, 21)
HSLhsl(45, 77%, 35%)
HSVhsv(45, 87%, 62%)
CMYKcmyk(0%, 21.5%, 86.7%, 38%)
CIE-LABlab(53.75, 3.74, 55.04)
CIE-LCHlch(53.75, 55.16, 86.11°)
OKLaboklab(60.27% 0.0037 0.1173)
OKLCHoklch(60.27% 0.117 88.2)
XYZxyz(21.4450, 21.7401, 3.7761)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7C15 #15379E
analogous
#9E3715 #9E7C15 #7C9E15
triadic
#9E7C15 #159E7C #7C159E
tetradic
#9E7C15 #159E37 #15379E #9E157C
square
#9E7C15 #159E37 #15379E #9E157C
split-complementary
#9E7C15 #157C9E #37159E
monochromatic
#322707 #68520E #9E7C15 #D4A61C #E7BF47

Accessibility & contrast

On white

3.93
#9E7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9E7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7C15
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7C15#FFFFFF#000000##000000
##9E7C151.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#94841C
Tritanopia (blue-blind)
#AC706A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e7c15;
/* rgb */ color: rgb(158, 124, 21);
/* oklch */ color: oklch(60.3% 0.117 88.2);
Tailwind
colors: {
  custom: {
    50: '#bfa15f',
    500: '#9e7c15',
    950: '#000000',
  },
}
SCSS
$custom: #9e7c15;
$custom-light: #bfa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7c15",
  "rgb": {
    "r": 158,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 45.109,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.11731,
    "h": 88.2
  },
  "luminance": 0.21739
}

Semantic roles & 50–950 ramp

primary
#9E7C15
secondary
#4767C7
accent
#64F335
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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