#F9D770#F9D770

#F9D770 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.8% C 0.128 H 91.4°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#F9D770
RGBrgb(249, 215, 112)
HSLhsl(45, 92%, 71%)
HSVhsv(45, 55%, 98%)
CMYKcmyk(0%, 13.7%, 55%, 2.4%)
CIE-LABlab(86.95, -0.35, 54.51)
CIE-LCHlch(86.95, 54.51, 90.37°)
OKLaboklab(88.75% -0.0031 0.128)
OKLCHoklch(88.75% 0.128 91.4)
XYZxyz(66.2947, 69.9137, 25.3288)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D770 #7092F9
analogous
#F99270 #F9D770 #D7F970
triadic
#F9D770 #70F9D7 #D770F9
tetradic
#F9D770 #70F992 #7092F9 #F970D7
square
#F9D770 #70F992 #7092F9 #F970D7
split-complementary
#F9D770 #70D7F9 #9270F9
monochromatic
#E5AF0A #F7C735 #F9D770 #FBE7AB #FEF7E2

Accessibility & contrast

On white

1.40
#F9D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#F9D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D770
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D770#FFFFFF#000000##000000
##F9D7701.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD466
Deuteranopia (green-blind)
#F3DE74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d770;
/* rgb */ color: rgb(249, 215, 112);
/* oklch */ color: oklch(88.8% 0.128 91.4);
Tailwind
colors: {
  custom: {
    50: '#fee39c',
    500: '#f9d770',
    950: '#000000',
  },
}
SCSS
$custom: #f9d770;
$custom-light: #fee39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d770",
  "rgb": {
    "r": 249,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 45.109,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88751,
    "c": 0.12802,
    "h": 91.4
  },
  "luminance": 0.6991
}

Semantic roles & 50–950 ramp

primary
#F9D770
secondary
#3960D4
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D770

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

Preview Lab → · Contrast checker → · Palette generator →

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