#9EAF3A#9EAF3A

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

Color values

HEX#9EAF3A
RGBrgb(158, 175, 58)
HSLhsl(69, 50%, 46%)
HSVhsv(69, 67%, 69%)
CMYKcmyk(9.7%, 0%, 66.9%, 31.4%)
CIE-LABlab(68.19, -21.73, 55.56)
CIE-LCHlch(68.19, 59.66, 111.37°)
OKLaboklab(71.83% -0.0644 0.1254)
OKLCHoklch(71.83% 0.141 117.2)
XYZxyz(30.1949, 38.2349, 9.7916)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF3A #4B3AAF
analogous
#AF853A #9EAF3A #63AF3A
triadic
#9EAF3A #3A9EAF #AF3A9E
tetradic
#9EAF3A #3AAF85 #4B3AAF #AF3A63
square
#9EAF3A #3AAF85 #4B3AAF #AF3A63
split-complementary
#9EAF3A #3A63AF #853AAF
monochromatic
#4B531C #74812B #9EAF3A #BAC95D #CDD98B

Accessibility & contrast

On white

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

On black

8.65
#9EAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF3A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF3A#FFFFFF#000000##000000
##9EAF3A1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA629
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#A7A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf3a;
/* rgb */ color: rgb(158, 175, 58);
/* oklch */ color: oklch(71.8% 0.141 117.2);
Tailwind
colors: {
  custom: {
    50: '#bdc677',
    500: '#9eaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf3a;
$custom-light: #bdc677;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf3a",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 68.718,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71834,
    "c": 0.14101,
    "h": 117.2
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#9EAF3A
secondary
#8B82C3
accent
#4EDA62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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