#F0E247#F0E247

#F0E247 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.8% C 0.167 H 104.1°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F0E247
RGBrgb(240, 226, 71)
HSLhsl(55, 85%, 61%)
HSVhsv(55, 70%, 94%)
CMYKcmyk(0%, 5.8%, 70.4%, 5.9%)
CIE-LABlab(88.63, -12.11, 73.25)
CIE-LCHlch(88.63, 74.25, 99.39°)
OKLaboklab(89.78% -0.0408 0.1624)
OKLCHoklch(89.78% 0.167 104.1)
XYZxyz(64.2716, 73.3755, 16.7374)
Luminance0.7337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E247 #4755F0
analogous
#F08D47 #F0E247 #A9F047
triadic
#F0E247 #47F0E2 #E247F0
tetradic
#F0E247 #47F08D #4755F0 #F047A9
square
#F0E247 #47F08D #4755F0 #F047A9
split-complementary
#F0E247 #47A9F0 #8D47F0
monochromatic
#AEA10E #E7D513 #F0E247 #F5EB80 #F9F4B8

Accessibility & contrast

On white

1.34
#F0E247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F0E247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E247
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E247#FFFFFF#000000##000000
##F0E2471.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA2D
Deuteranopia (green-blind)
#FAE252
Tritanopia (blue-blind)
#FFD3C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e247;
/* rgb */ color: rgb(240, 226, 71);
/* oklch */ color: oklch(89.8% 0.167 104.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea84',
    500: '#f0e247',
    950: '#000000',
  },
}
SCSS
$custom: #f0e247;
$custom-light: #f9ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e247",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 71
  },
  "hsl": {
    "h": 55.03,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8978,
    "c": 0.16748,
    "h": 104.1
  },
  "luminance": 0.73373
}

Semantic roles & 50–950 ramp

primary
#F0E247
secondary
#2C37AF
accent
#16E104
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#18160B
muted
#86847E

Preview Lab

Preview with #F0E247

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

Preview Lab → · Contrast checker → · Palette generator →

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