#9EAF2C#9EAF2C

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

Color values

HEX#9EAF2C
RGBrgb(158, 175, 44)
HSLhsl(68, 60%, 43%)
HSVhsv(68, 75%, 69%)
CMYKcmyk(9.7%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.10, -22.51, 60.67)
CIE-LCHlch(68.10, 64.71, 110.36°)
OKLaboklab(71.73% -0.0679 0.1339)
OKLCHoklch(71.73% 0.15 116.9)
XYZxyz(29.8859, 38.1113, 8.1642)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF2C #3D2CAF
analogous
#AF7E2C #9EAF2C #5DAF2C
triadic
#9EAF2C #2C9EAF #AF2C9E
tetradic
#9EAF2C #2CAF7E #3D2CAF #AF2C5D
square
#9EAF2C #2CAF7E #3D2CAF #AF2C5D
split-complementary
#9EAF2C #2C5DAF #7E2CAF
monochromatic
#464D13 #727E20 #9EAF2C #BFD147 #D0DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAF2C#FFFFFF#000000##000000
##9EAF2C1.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)
#BBA50E
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf2c;
/* rgb */ color: rgb(158, 175, 44);
/* oklch */ color: oklch(71.7% 0.150 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec66f',
    500: '#9eaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf2c;
$custom-light: #bec66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf2c",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 67.786,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.15011,
    "h": 116.9
  },
  "luminance": 0.38111
}

Semantic roles & 50–950 ramp

primary
#9EAF2C
secondary
#7D72C5
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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