#9E9F23#9E9F23

#9E9F23 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.138 H 110.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E9F23
RGBrgb(158, 159, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 62%)
CMYKcmyk(0.6%, 0%, 78%, 37.6%)
CIE-LABlab(63.50, -14.78, 59.34)
CIE-LCHlch(63.50, 61.15, 103.99°)
OKLaboklab(68.03% -0.0472 0.1294)
OKLCHoklch(68.03% 0.138 110)
XYZxyz(26.8031, 32.1875, 6.3907)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F23 #24239F
analogous
#9F6223 #9E9F23 #609F23
triadic
#9E9F23 #239E9F #9F239E
tetradic
#9E9F23 #239F62 #24239F #9F2360
square
#9E9F23 #239F62 #24239F #9F2360
split-complementary
#9E9F23 #23609F #62239F
monochromatic
#3A3B0D #6C6D18 #9E9F23 #D0D12E #DBDC60

Accessibility & contrast

On white

2.82
#9E9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9E9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F23
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F23#FFFFFF#000000##000000
##9E9F231.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#AA9588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f23;
/* rgb */ color: rgb(158, 159, 35);
/* oklch */ color: oklch(68.0% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#bebb69',
    500: '#9e9f23',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f23;
$custom-light: #bebb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f23",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 60.484,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68026,
    "c": 0.13777,
    "h": 110
  },
  "luminance": 0.32187
}

Semantic roles & 50–950 ramp

primary
#9E9F23
secondary
#5E5DC1
accent
#41E742
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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