#F0E47A#F0E47A

#F0E47A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.7% C 0.128 H 102.8°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F0E47A
RGBrgb(240, 228, 122)
HSLhsl(54, 80%, 71%)
HSVhsv(54, 49%, 94%)
CMYKcmyk(0%, 5%, 49.2%, 5.9%)
CIE-LABlab(89.59, -9.71, 52.74)
CIE-LCHlch(89.59, 53.63, 100.43°)
OKLaboklab(90.69% -0.0285 0.1252)
OKLCHoklch(90.69% 0.128 102.8)
XYZxyz(67.1933, 75.4194, 29.4265)
Luminance0.7542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E47A #7A86F0
analogous
#F0A97A #F0E47A #C1F07A
triadic
#F0E47A #7AF0E4 #E47AF0
tetradic
#F0E47A #7AF0A9 #7A86F0 #F07AC1
square
#F0E47A #7AF0A9 #7A86F0 #F07AC1
split-complementary
#F0E47A #7AC1F0 #A97AF0
monochromatic
#D7C418 #EAD943 #F0E47A #F6EFB1 #FCF9E4

Accessibility & contrast

On white

1.31
#F0E47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F0E47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E47A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E47A#FFFFFF#000000##000000
##F0E47A1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE71
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e47a;
/* rgb */ color: rgb(240, 228, 122);
/* oklch */ color: oklch(90.7% 0.128 102.8);
Tailwind
colors: {
  custom: {
    50: '#f7eca3',
    500: '#f0e47a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e47a;
$custom-light: #f7eca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e47a",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 122
  },
  "hsl": {
    "h": 53.898,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90689,
    "c": 0.1284,
    "h": 102.8
  },
  "luminance": 0.75417
}

Semantic roles & 50–950 ramp

primary
#F0E47A
secondary
#4452CA
accent
#1FDC09
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E47A

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

Preview Lab → · Contrast checker → · Palette generator →

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