#F9E770#F9E770

#F9E770 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.141 H 100.8°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F9E770
RGBrgb(249, 231, 112)
HSLhsl(52, 92%, 71%)
HSVhsv(52, 55%, 98%)
CMYKcmyk(0%, 7.2%, 55%, 2.4%)
CIE-LABlab(90.99, -8.41, 59.20)
CIE-LCHlch(90.99, 59.79, 98.09°)
OKLaboklab(91.95% -0.0264 0.1381)
OKLCHoklch(91.95% 0.141 100.8)
XYZxyz(70.5699, 78.4641, 26.7539)
Luminance0.7846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E770 #7082F9
analogous
#F9A270 #F9E770 #C6F970
triadic
#F9E770 #70F9E7 #E770F9
tetradic
#F9E770 #70F9A2 #7082F9 #F970C6
square
#F9E770 #70F9A2 #7082F9 #F970C6
split-complementary
#F9E770 #70C6F9 #A270F9
monochromatic
#E5C80A #F7DD35 #F9E770 #FBF1AB #FEFAE2

Accessibility & contrast

On white

1.26
#F9E770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F9E770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E770
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E770#FFFFFF#000000##000000
##F9E7701.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE164
Deuteranopia (green-blind)
#FFE876
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e770;
/* rgb */ color: rgb(249, 231, 112);
/* oklch */ color: oklch(91.9% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#feee9c',
    500: '#f9e770',
    950: '#000000',
  },
}
SCSS
$custom: #f9e770;
$custom-light: #feee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e770",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 52.117,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91945,
    "c": 0.14064,
    "h": 100.8
  },
  "luminance": 0.78461
}

Semantic roles & 50–950 ramp

primary
#F9E770
secondary
#394DD4
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E770

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

Preview Lab → · Contrast checker → · Palette generator →

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