#F0E447#F0E447

#F0E447 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.2% C 0.169 H 104.9°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#F0E447
RGBrgb(240, 228, 71)
HSLhsl(56, 85%, 61%)
HSVhsv(56, 70%, 94%)
CMYKcmyk(0%, 5%, 70.4%, 5.9%)
CIE-LABlab(89.14, -13.10, 73.76)
CIE-LCHlch(89.14, 74.91, 100.07°)
OKLaboklab(90.19% -0.0436 0.1635)
OKLCHoklch(90.19% 0.169 104.9)
XYZxyz(64.8186, 74.4695, 16.9197)
Luminance0.7447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E447 #4753F0
analogous
#F08F47 #F0E447 #A7F047
triadic
#F0E447 #47F0E4 #E447F0
tetradic
#F0E447 #47F08F #4753F0 #F047A7
square
#F0E447 #47F08F #4753F0 #F047A7
split-complementary
#F0E447 #47A7F0 #8F47F0
monochromatic
#AEA30E #E7D813 #F0E447 #F5EC80 #F9F5B8

Accessibility & contrast

On white

1.32
#F0E447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#F0E447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E447
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E447#FFFFFF#000000##000000
##F0E4471.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC2C
Deuteranopia (green-blind)
#FCE352
Tritanopia (blue-blind)
#FFD5C5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e447;
/* rgb */ color: rgb(240, 228, 71);
/* oklch */ color: oklch(90.2% 0.169 104.9);
Tailwind
colors: {
  custom: {
    50: '#f9ec84',
    500: '#f0e447',
    950: '#000000',
  },
}
SCSS
$custom: #f0e447;
$custom-light: #f9ec84;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e447",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 71
  },
  "hsl": {
    "h": 55.74,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90192,
    "c": 0.16921,
    "h": 104.9
  },
  "luminance": 0.74467
}

Semantic roles & 50–950 ramp

primary
#F0E447
secondary
#2C36AF
accent
#14E104
background
#FFFEFC
surface
#FFFDF3
border
#D7D5CD
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0E447

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

Preview Lab → · Contrast checker → · Palette generator →

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