#9E9126#9E9126

#9E9126 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.123 H 102.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9E9126
RGBrgb(158, 145, 38)
HSLhsl(54, 61%, 38%)
HSVhsv(54, 76%, 62%)
CMYKcmyk(0%, 8.2%, 75.9%, 38%)
CIE-LABlab(59.58, -7.24, 54.72)
CIE-LCHlch(59.58, 55.20, 97.54°)
OKLaboklab(64.91% -0.0258 0.1202)
OKLCHoklch(64.91% 0.123 102.1)
XYZxyz(24.5769, 27.6609, 5.8779)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9126 #26339E
analogous
#9E5526 #9E9126 #6F9E26
triadic
#9E9126 #269E91 #91269E
tetradic
#9E9126 #269E55 #26339E #9E266F
square
#9E9126 #269E55 #26339E #9E266F
split-complementary
#9E9126 #266F9E #55269E
monochromatic
#3B360E #6D641A #9E9126 #CEBD33 #DACD65

Accessibility & contrast

On white

3.21
#9E9126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9E9126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9126
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9126#FFFFFF#000000##000000
##9E91261.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C11
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#AA867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9126;
/* rgb */ color: rgb(158, 145, 38);
/* oklch */ color: oklch(64.9% 0.123 102.1);
Tailwind
colors: {
  custom: {
    50: '#beb069',
    500: '#9e9126',
    950: '#000000',
  },
}
SCSS
$custom: #9e9126;
$custom-light: #beb069;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9126",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 53.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.12292,
    "h": 102.1
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#9E9126
secondary
#606BC0
accent
#55E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9126

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

Preview Lab → · Contrast checker → · Palette generator →

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