#9EAF25#9EAF25

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

Color values

HEX#9EAF25
RGBrgb(158, 175, 37)
HSLhsl(67, 65%, 42%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9.7%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.07, -22.82, 62.85)
CIE-LCHlch(68.07, 66.87, 109.95°)
OKLaboklab(71.69% -0.0693 0.1373)
OKLCHoklch(71.69% 0.154 116.8)
XYZxyz(29.7652, 38.0630, 7.5288)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF25 #3625AF
analogous
#AF7B25 #9EAF25 #59AF25
triadic
#9EAF25 #259EAF #AF259E
tetradic
#9EAF25 #25AF7B #3625AF #AF2559
square
#9EAF25 #25AF7B #3625AF #AF2559
split-complementary
#9EAF25 #2559AF #7B25AF
monochromatic
#434A10 #707C1A #9EAF25 #C3D63C #D2E06E

Accessibility & contrast

On white

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

On black

8.61
#9EAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF25
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF25#FFFFFF#000000##000000
##9EAF251.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaf25;
/* rgb */ color: rgb(158, 175, 37);
/* oklch */ color: oklch(71.7% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#bec66c',
    500: '#9eaf25',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf25;
$custom-light: #bec66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf25",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 67.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.15378,
    "h": 116.8
  },
  "luminance": 0.38063
}

Semantic roles & 50–950 ramp

primary
#9EAF25
secondary
#7469C7
accent
#40E854
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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