#9E8F26#9E8F26

#9E8F26 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.121 H 100.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E8F26
RGBrgb(158, 143, 38)
HSLhsl(53, 61%, 38%)
HSVhsv(53, 76%, 62%)
CMYKcmyk(0%, 9.5%, 75.9%, 38%)
CIE-LABlab(59.03, -6.16, 54.20)
CIE-LCHlch(59.03, 54.55, 96.48°)
OKLaboklab(64.47% -0.0228 0.1191)
OKLCHoklch(64.47% 0.121 100.8)
XYZxyz(24.2740, 27.0551, 5.7769)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F26 #26359E
analogous
#9E5326 #9E8F26 #719E26
triadic
#9E8F26 #269E8F #8F269E
tetradic
#9E8F26 #269E53 #26359E #9E2671
square
#9E8F26 #269E53 #26359E #9E2671
split-complementary
#9E8F26 #26719E #53269E
monochromatic
#3B360E #6D621A #9E8F26 #CEBB33 #DACB65

Accessibility & contrast

On white

3.28
#9E8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9E8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8F26
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8F26#FFFFFF#000000##000000
##9E8F261.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B12
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#AB847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f26;
/* rgb */ color: rgb(158, 143, 38);
/* oklch */ color: oklch(64.5% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#beaf69',
    500: '#9e8f26',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f26;
$custom-light: #beaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f26",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 52.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64468,
    "c": 0.12123,
    "h": 100.8
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#9E8F26
secondary
#606CC0
accent
#58E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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