#9EAF36#9EAF36

#9EAF36 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.144 H 117.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#9EAF36
RGBrgb(158, 175, 54)
HSLhsl(68, 53%, 45%)
HSVhsv(68, 69%, 69%)
CMYKcmyk(9.7%, 0%, 69.1%, 31.4%)
CIE-LABlab(68.16, -21.98, 57.11)
CIE-LCHlch(68.16, 61.19, 111.05°)
OKLaboklab(71.8% -0.0655 0.1281)
OKLCHoklch(71.8% 0.144 117.1)
XYZxyz(30.0971, 38.1957, 9.2763)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF36 #4736AF
analogous
#AF8436 #9EAF36 #61AF36
triadic
#9EAF36 #369EAF #AF369E
tetradic
#9EAF36 #36AF84 #4736AF #AF3661
square
#9EAF36 #36AF84 #4736AF #AF3661
split-complementary
#9EAF36 #3661AF #8436AF
monochromatic
#4A5119 #748028 #9EAF36 #BBCB57 #CEDA86

Accessibility & contrast

On white

2.43
#9EAF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#9EAF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF36
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF36#FFFFFF#000000##000000
##9EAF361.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA623
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#A8A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf36;
/* rgb */ color: rgb(158, 175, 54);
/* oklch */ color: oklch(71.8% 0.144 117.1);
Tailwind
colors: {
  custom: {
    50: '#bec674',
    500: '#9eaf36',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf36;
$custom-light: #bec674;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf36",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 68.43,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.14384,
    "h": 117.1
  },
  "luminance": 0.38195
}

Semantic roles & 50–950 ramp

primary
#9EAF36
secondary
#877DC3
accent
#4CDC60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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