#F0E772#F0E772

#F0E772 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.139 H 104.8°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F0E772
RGBrgb(240, 231, 114)
HSLhsl(56, 81%, 69%)
HSVhsv(56, 53%, 94%)
CMYKcmyk(0%, 3.7%, 52.5%, 5.9%)
CIE-LABlab(90.27, -11.87, 57.27)
CIE-LCHlch(90.27, 58.49, 101.71°)
OKLaboklab(91.2% -0.0355 0.1343)
OKLCHoklch(91.2% 0.139 104.8)
XYZxyz(67.5503, 76.8941, 27.2001)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E772 #727BF0
analogous
#F0A872 #F0E772 #BAF072
triadic
#F0E772 #72F0E7 #E772F0
tetradic
#F0E772 #72F0A8 #727BF0 #F072BA
square
#F0E772 #72F0A8 #727BF0 #F072BA
split-complementary
#F0E772 #72BAF0 #A872F0
monochromatic
#D1C416 #EADE3B #F0E772 #F6F0A9 #FCFAE1

Accessibility & contrast

On white

1.28
#F0E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F0E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E772
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E772#FFFFFF#000000##000000
##F0E7721.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#FCE678
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e772;
/* rgb */ color: rgb(240, 231, 114);
/* oklch */ color: oklch(91.2% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#f7ee9e',
    500: '#f0e772',
    950: '#000000',
  },
}
SCSS
$custom: #f0e772;
$custom-light: #f7ee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e772",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 55.714,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91204,
    "c": 0.13895,
    "h": 104.8
  },
  "luminance": 0.76892
}

Semantic roles & 50–950 ramp

primary
#F0E772
secondary
#3D47C9
accent
#18DD08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E772

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

Preview Lab → · Contrast checker → · Palette generator →

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