#F0EB79#F0EB79

#F0EB79 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.136 H 106.5°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F0EB79
RGBrgb(240, 235, 121)
HSLhsl(57, 80%, 71%)
HSVhsv(57, 50%, 94%)
CMYKcmyk(0%, 2.1%, 49.6%, 5.9%)
CIE-LABlab(91.38, -13.27, 55.35)
CIE-LCHlch(91.38, 56.92, 103.48°)
OKLaboklab(92.11% -0.0388 0.1308)
OKLCHoklch(92.11% 0.136 106.5)
XYZxyz(69.0964, 79.3243, 29.7568)
Luminance0.7932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB79 #797EF0
analogous
#F0AF79 #F0EB79 #B9F079
triadic
#F0EB79 #79F0EB #EB79F0
tetradic
#F0EB79 #79F0AF #797EF0 #F079B9
square
#F0EB79 #79F0AF #797EF0 #F079B9
split-complementary
#F0EB79 #79B9F0 #AF79F0
monochromatic
#D7CF18 #EAE342 #F0EB79 #F6F3B0 #FCFBE3

Accessibility & contrast

On white

1.25
#F0EB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F0EB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB79
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB79#FFFFFF#000000##000000
##F0EB791.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36F
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0eb79;
/* rgb */ color: rgb(240, 235, 121);
/* oklch */ color: oklch(92.1% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#f7f1a2',
    500: '#f0eb79',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb79;
$custom-light: #f7f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb79",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 121
  },
  "hsl": {
    "h": 57.479,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92109,
    "c": 0.13645,
    "h": 106.5
  },
  "luminance": 0.79322
}

Semantic roles & 50–950 ramp

primary
#F0EB79
secondary
#4349CA
accent
#12DC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EB79

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

Preview Lab → · Contrast checker → · Palette generator →

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