#9E9128#9E9128

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

Color values

HEX#9E9128
RGBrgb(158, 145, 40)
HSLhsl(53, 60%, 39%)
HSVhsv(53, 75%, 62%)
CMYKcmyk(0%, 8.2%, 74.7%, 38%)
CIE-LABlab(59.59, -7.15, 54.00)
CIE-LCHlch(59.59, 54.48, 97.54°)
OKLaboklab(64.92% -0.0254 0.119)
OKLCHoklch(64.92% 0.122 102)
XYZxyz(24.6101, 27.6742, 6.0524)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9128 #28359E
analogous
#9E5628 #9E9128 #709E28
triadic
#9E9128 #289E91 #91289E
tetradic
#9E9128 #289E56 #28359E #9E2870
square
#9E9128 #289E56 #28359E #9E2870
split-complementary
#9E9128 #28709E #56289E
monochromatic
#3C370F #6D641C #9E9128 #CCBC37 #D9CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9128#FFFFFF#000000##000000
##9E91281.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)
#9F8C15
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9128;
/* rgb */ color: rgb(158, 145, 40);
/* oklch */ color: oklch(64.9% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#beb06a',
    500: '#9e9128',
    950: '#000000',
  },
}
SCSS
$custom: #9e9128;
$custom-light: #beb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9128",
  "rgb": {
    "r": 158,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 53.39,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64923,
    "c": 0.12171,
    "h": 102
  },
  "luminance": 0.27673
}

Semantic roles & 50–950 ramp

primary
#9E9128
secondary
#636DBF
accent
#56E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9128

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

Preview Lab → · Contrast checker → · Palette generator →

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