#F5EA70#F5EA70

#F5EA70 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.143 H 104.1°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F5EA70
RGBrgb(245, 234, 112)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.5%, 54.3%, 3.9%)
CIE-LABlab(91.43, -11.51, 59.62)
CIE-LCHlch(91.43, 60.72, 100.93°)
OKLaboklab(92.21% -0.035 0.1391)
OKLCHoklch(92.21% 0.143 104.1)
XYZxyz(70.0058, 79.4303, 26.9700)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA70 #707BF5
analogous
#F5A870 #F5EA70 #BDF570
triadic
#F5EA70 #70F5EA #EA70F5
tetradic
#F5EA70 #70F5A8 #707BF5 #F570BD
square
#F5EA70 #70F5A8 #707BF5 #F570BD
split-complementary
#F5EA70 #70BDF5 #A870F5
monochromatic
#DBCA0F #F1E237 #F5EA70 #F9F2A9 #FDFBE2

Accessibility & contrast

On white

1.24
#F5EA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#F5EA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA70
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA70#FFFFFF#000000##000000
##F5EA701.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE364
Deuteranopia (green-blind)
#FFE976
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea70;
/* rgb */ color: rgb(245, 234, 112);
/* oklch */ color: oklch(92.2% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fbf09c',
    500: '#f5ea70',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea70;
$custom-light: #fbf09c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea70",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 112
  },
  "hsl": {
    "h": 55.038,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.14345,
    "h": 104.1
  },
  "luminance": 0.79428
}

Semantic roles & 50–950 ramp

primary
#F5EA70
secondary
#3A46CF
accent
#15E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5EA70

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

Preview Lab → · Contrast checker → · Palette generator →

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