#9E9727#9E9727

#9E9727 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.3% C 0.128 H 105.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E9727
RGBrgb(158, 151, 39)
HSLhsl(56, 60%, 39%)
HSVhsv(56, 75%, 62%)
CMYKcmyk(0%, 4.4%, 75.3%, 38%)
CIE-LABlab(61.26, -10.41, 55.95)
CIE-LCHlch(61.26, 56.91, 100.54°)
OKLaboklab(66.25% -0.0346 0.123)
OKLCHoklch(66.25% 0.128 105.7)
XYZxyz(25.5344, 29.5498, 6.2777)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9727 #272E9E
analogous
#9E5B27 #9E9727 #699E27
triadic
#9E9727 #279E97 #97279E
tetradic
#9E9727 #279E5B #272E9E #9E2769
square
#9E9727 #279E5B #272E9E #9E2769
split-complementary
#9E9727 #27699E #5B279E
monochromatic
#3C390F #6D681B #9E9727 #CDC435 #D9D266

Accessibility & contrast

On white

3.04
#9E9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9E9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9727
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9727#FFFFFF#000000##000000
##9E97271.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#AA8C82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9727;
/* rgb */ color: rgb(158, 151, 39);
/* oklch */ color: oklch(66.3% 0.128 105.7);
Tailwind
colors: {
  custom: {
    50: '#beb56a',
    500: '#9e9727',
    950: '#000000',
  },
}
SCSS
$custom: #9e9727;
$custom-light: #beb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9727",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 56.471,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6625,
    "c": 0.12776,
    "h": 105.7
  },
  "luminance": 0.29549
}

Semantic roles & 50–950 ramp

primary
#9E9727
secondary
#6267BF
accent
#4EE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9727

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

Preview Lab → · Contrast checker → · Palette generator →

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