#F9EB70#F9EB70

#F9EB70 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.8% C 0.144 H 102.8°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F9EB70
RGBrgb(249, 235, 112)
HSLhsl(54, 92%, 71%)
HSVhsv(54, 55%, 98%)
CMYKcmyk(0%, 5.6%, 55%, 2.4%)
CIE-LABlab(92.01, -10.40, 60.37)
CIE-LCHlch(92.01, 61.26, 99.77°)
OKLaboklab(92.75% -0.0321 0.1407)
OKLCHoklch(92.75% 0.144 102.8)
XYZxyz(71.7022, 80.7288, 27.1313)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EB70 #707EF9
analogous
#F9A670 #F9EB70 #C2F970
triadic
#F9EB70 #70F9EB #EB70F9
tetradic
#F9EB70 #70F9A6 #707EF9 #F970C2
square
#F9EB70 #70F9A6 #707EF9 #F970C2
split-complementary
#F9EB70 #70C2F9 #A670F9
monochromatic
#E5CF0A #F7E335 #F9EB70 #FBF3AB #FEFBE2

Accessibility & contrast

On white

1.22
#F9EB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F9EB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EB70
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EB70#FFFFFF#000000##000000
##F9EB701.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE464
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9eb70;
/* rgb */ color: rgb(249, 235, 112);
/* oklch */ color: oklch(92.8% 0.144 102.8);
Tailwind
colors: {
  custom: {
    50: '#fef19d',
    500: '#f9eb70',
    950: '#000000',
  },
}
SCSS
$custom: #f9eb70;
$custom-light: #fef19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9eb70",
  "rgb": {
    "r": 249,
    "g": 235,
    "b": 112
  },
  "hsl": {
    "h": 53.869,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92754,
    "c": 0.14427,
    "h": 102.8
  },
  "luminance": 0.80726
}

Semantic roles & 50–950 ramp

primary
#F9EB70
secondary
#3949D4
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EB70

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

Preview Lab → · Contrast checker → · Palette generator →

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