#9EAF23#9EAF23

#9EAF23 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.7% C 0.155 H 116.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#9EAF23
RGBrgb(158, 175, 35)
HSLhsl(67, 67%, 41%)
HSVhsv(67, 80%, 69%)
CMYKcmyk(9.7%, 0%, 80%, 31.4%)
CIE-LABlab(68.06, -22.89, 63.43)
CIE-LCHlch(68.06, 67.43, 109.85°)
OKLaboklab(71.68% -0.0697 0.1382)
OKLCHoklch(71.68% 0.155 116.8)
XYZxyz(29.7347, 38.0508, 7.3679)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF23 #3423AF
analogous
#AF7A23 #9EAF23 #58AF23
triadic
#9EAF23 #239EAF #AF239E
tetradic
#9EAF23 #23AF7A #3423AF #AF2358
square
#9EAF23 #23AF7A #3423AF #AF2358
split-complementary
#9EAF23 #2358AF #7A23AF
monochromatic
#42490F #707C19 #9EAF23 #C4D738 #D3E16B

Accessibility & contrast

On white

2.44
#9EAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#9EAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF23
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF23#FFFFFF#000000##000000
##9EAF231.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf23;
/* rgb */ color: rgb(158, 175, 35);
/* oklch */ color: oklch(71.7% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66b',
    500: '#9eaf23',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf23;
$custom-light: #bec66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf23",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 67.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71682,
    "c": 0.15472,
    "h": 116.8
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#9EAF23
secondary
#7266C7
accent
#3EEA53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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