#F0E679#F0E679

#F0E679 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.1% C 0.131 H 104.0°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F0E679
RGBrgb(240, 230, 121)
HSLhsl(55, 80%, 71%)
HSVhsv(55, 50%, 94%)
CMYKcmyk(0%, 4.2%, 49.6%, 5.9%)
CIE-LABlab(90.09, -10.79, 53.82)
CIE-LCHlch(90.09, 54.89, 101.34°)
OKLaboklab(91.08% -0.0317 0.1275)
OKLCHoklch(91.08% 0.131 104)
XYZxyz(67.6850, 76.5015, 29.2863)
Luminance0.7650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E679 #7983F0
analogous
#F0AA79 #F0E679 #BEF079
triadic
#F0E679 #79F0E6 #E679F0
tetradic
#F0E679 #79F0AA #7983F0 #F079BE
square
#F0E679 #79F0AA #7983F0 #F079BE
split-complementary
#F0E679 #79BEF0 #AA79F0
monochromatic
#D7C718 #EADC42 #F0E679 #F6F0B0 #FCFAE3

Accessibility & contrast

On white

1.29
#F0E679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F0E679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E679
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E679#FFFFFF#000000##000000
##F0E6791.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6F
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e679;
/* rgb */ color: rgb(240, 230, 121);
/* oklch */ color: oklch(91.1% 0.131 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7eda2',
    500: '#f0e679',
    950: '#000000',
  },
}
SCSS
$custom: #f0e679;
$custom-light: #f7eda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e679",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 121
  },
  "hsl": {
    "h": 54.958,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91084,
    "c": 0.13135,
    "h": 104
  },
  "luminance": 0.76499
}

Semantic roles & 50–950 ramp

primary
#F0E679
secondary
#434FCA
accent
#1BDC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E679

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

Preview Lab → · Contrast checker → · Palette generator →

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