#9EAF27#9EAF27

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

Color values

HEX#9EAF27
RGBrgb(158, 175, 39)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(9.7%, 0%, 77.7%, 31.4%)
CIE-LABlab(68.08, -22.73, 62.26)
CIE-LCHlch(68.08, 66.28, 110.06°)
OKLaboklab(71.7% -0.0689 0.1364)
OKLCHoklch(71.7% 0.153 116.8)
XYZxyz(29.7975, 38.0759, 7.6987)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF27 #3827AF
analogous
#AF7C27 #9EAF27 #5AAF27
triadic
#9EAF27 #279EAF #AF279E
tetradic
#9EAF27 #27AF7C #3827AF #AF275A
square
#9EAF27 #27AF7C #3827AF #AF275A
split-complementary
#9EAF27 #275AAF #7C27AF
monochromatic
#444B11 #717D1C #9EAF27 #C2D43F #D2DF71

Accessibility & contrast

On white

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

On black

8.62
#9EAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF27
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF27#FFFFFF#000000##000000
##9EAF271.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaf27;
/* rgb */ color: rgb(158, 175, 39);
/* oklch */ color: oklch(71.7% 0.153 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66d',
    500: '#9eaf27',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf27;
$custom-light: #bec66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf27",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 67.5,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71703,
    "c": 0.15279,
    "h": 116.8
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

primary
#9EAF27
secondary
#776BC6
accent
#41E756
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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