#F0EA57#F0EA57

#F0EA57 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.6% C 0.164 H 107.0°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F0EA57
RGBrgb(240, 234, 87)
HSLhsl(58, 84%, 64%)
HSVhsv(58, 64%, 94%)
CMYKcmyk(0%, 2.5%, 63.7%, 5.9%)
CIE-LABlab(90.81, -15.21, 69.43)
CIE-LCHlch(90.81, 71.08, 102.36°)
OKLaboklab(91.55% -0.0479 0.1569)
OKLCHoklch(91.55% 0.164 107)
XYZxyz(67.0807, 78.0612, 20.5487)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA57 #575DF0
analogous
#F09E57 #F0EA57 #AAF057
triadic
#F0EA57 #57F0EA #EA57F0
tetradic
#F0EA57 #57F09E #575DF0 #F057AA
square
#F0EA57 #57F09E #575DF0 #F057AA
split-complementary
#F0EA57 #57AAF0 #9E57F0
monochromatic
#BCB511 #EBE31F #F0EA57 #F5F18F #FAF8C7

Accessibility & contrast

On white

1.26
#F0EA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#F0EA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA57
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA57#FFFFFF#000000##000000
##F0EA571.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE144
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea57;
/* rgb */ color: rgb(240, 234, 87);
/* oklch */ color: oklch(91.6% 0.164 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f08d',
    500: '#f0ea57',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea57;
$custom-light: #f8f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea57",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 87
  },
  "hsl": {
    "h": 57.647,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91552,
    "c": 0.16409,
    "h": 107
  },
  "luminance": 0.78059
}

Semantic roles & 50–950 ramp

primary
#F0EA57
secondary
#3136BA
accent
#0EE005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA57

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

Preview Lab → · Contrast checker → · Palette generator →

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