#9EAF3F#9EAF3F

#9EAF3F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.137 H 117.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9EAF3F
RGBrgb(158, 175, 63)
HSLhsl(69, 47%, 47%)
HSVhsv(69, 64%, 69%)
CMYKcmyk(9.7%, 0%, 64%, 31.4%)
CIE-LABlab(68.23, -21.40, 53.53)
CIE-LCHlch(68.23, 57.65, 111.79°)
OKLaboklab(71.88% -0.063 0.1219)
OKLCHoklch(71.88% 0.137 117.3)
XYZxyz(30.3283, 38.2882, 10.4943)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF3F #503FAF
analogous
#AF883F #9EAF3F #66AF3F
triadic
#9EAF3F #3F9EAF #AF3F9E
tetradic
#9EAF3F #3FAF88 #503FAF #AF3F66
square
#9EAF3F #3FAF88 #503FAF #AF3F66
split-complementary
#9EAF3F #3F66AF #883FAF
monochromatic
#4D551F #75822F #9EAF3F #B8C764 #CDD791

Accessibility & contrast

On white

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

On black

8.66
#9EAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF3F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF3F#FFFFFF#000000##000000
##9EAF3F1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#B9A747
Tritanopia (blue-blind)
#A7A698
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf3f;
/* rgb */ color: rgb(158, 175, 63);
/* oklch */ color: oklch(71.9% 0.137 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc679',
    500: '#9eaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf3f;
$custom-light: #bdc679;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf3f",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 69.107,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.13722,
    "h": 117.3
  },
  "luminance": 0.38288
}

Semantic roles & 50–950 ramp

primary
#9EAF3F
secondary
#9087C3
accent
#51D765
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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