#F0E147#F0E147

#F0E147 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.6% C 0.167 H 103.7°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F0E147
RGBrgb(240, 225, 71)
HSLhsl(55, 85%, 61%)
HSVhsv(55, 70%, 94%)
CMYKcmyk(0%, 6.3%, 70.4%, 5.9%)
CIE-LABlab(88.37, -11.62, 73.00)
CIE-LCHlch(88.37, 73.92, 99.04°)
OKLaboklab(89.58% -0.0394 0.1619)
OKLCHoklch(89.58% 0.167 103.7)
XYZxyz(64.0004, 72.8332, 16.6470)
Luminance0.7283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E147 #4756F0
analogous
#F08D47 #F0E147 #AAF047
triadic
#F0E147 #47F0E1 #E147F0
tetradic
#F0E147 #47F08D #4756F0 #F047AA
square
#F0E147 #47F08D #4756F0 #F047AA
split-complementary
#F0E147 #47AAF0 #8D47F0
monochromatic
#AEA00E #E7D413 #F0E147 #F5EA80 #F9F3B8

Accessibility & contrast

On white

1.35
#F0E147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F0E147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E147
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E147#FFFFFF#000000##000000
##F0E1471.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA2D
Deuteranopia (green-blind)
#FAE151
Tritanopia (blue-blind)
#FFD2C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e147;
/* rgb */ color: rgb(240, 225, 71);
/* oklch */ color: oklch(89.6% 0.167 103.7);
Tailwind
colors: {
  custom: {
    50: '#f9ea84',
    500: '#f0e147',
    950: '#000000',
  },
}
SCSS
$custom: #f0e147;
$custom-light: #f9ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e147",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 71
  },
  "hsl": {
    "h": 54.675,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89575,
    "c": 0.16663,
    "h": 103.7
  },
  "luminance": 0.72831
}

Semantic roles & 50–950 ramp

primary
#F0E147
secondary
#2C38AF
accent
#18E104
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18160B
muted
#86847E

Preview Lab

Preview with #F0E147

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

Preview Lab → · Contrast checker → · Palette generator →

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