#F9EA6C#F9EA6C

#F9EA6C is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.5% C 0.147 H 102.6°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#F9EA6C
RGBrgb(249, 234, 108)
HSLhsl(54, 92%, 70%)
HSVhsv(54, 57%, 98%)
CMYKcmyk(0%, 6%, 56.6%, 2.4%)
CIE-LABlab(91.72, -10.20, 61.81)
CIE-LCHlch(91.72, 62.65, 99.37°)
OKLaboklab(92.51% -0.0319 0.1433)
OKLCHoklch(92.51% 0.147 102.6)
XYZxyz(71.1990, 80.0707, 25.8892)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA6C #6C7BF9
analogous
#F9A36C #F9EA6C #C2F96C
triadic
#F9EA6C #6CF9EA #EA6CF9
tetradic
#F9EA6C #6CF9A3 #6C7BF9 #F96CC2
square
#F9EA6C #6CF9A3 #6C7BF9 #F96CC2
split-complementary
#F9EA6C #6CC2F9 #A36CF9
monochromatic
#E1CA09 #F7E231 #F9EA6C #FBF2A7 #FEFBE2

Accessibility & contrast

On white

1.23
#F9EA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#F9EA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA6C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA6C#FFFFFF#000000##000000
##F9EA6C1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE35F
Deuteranopia (green-blind)
#FFEA72
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea6c;
/* rgb */ color: rgb(249, 234, 108);
/* oklch */ color: oklch(92.5% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef09a',
    500: '#f9ea6c',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea6c;
$custom-light: #fef09a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea6c",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 108
  },
  "hsl": {
    "h": 53.617,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.92508,
    "c": 0.14684,
    "h": 102.6
  },
  "luminance": 0.80068
}

Semantic roles & 50–950 ramp

primary
#F9EA6C
secondary
#3646D4
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EA6C

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

Preview Lab → · Contrast checker → · Palette generator →

#F9EA6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva