#F5E070#F5E070

#F5E070 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.134 H 98.9°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#F5E070
RGBrgb(245, 224, 112)
HSLhsl(51, 87%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 8.6%, 54.3%, 3.9%)
CIE-LABlab(88.87, -6.52, 56.66)
CIE-LCHlch(88.87, 57.04, 96.57°)
OKLaboklab(90.19% -0.0207 0.1327)
OKLCHoklch(90.19% 0.134 98.9)
XYZxyz(67.2388, 73.8963, 26.0477)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E070 #7085F5
analogous
#F59D70 #F5E070 #C8F570
triadic
#F5E070 #70F5E0 #E070F5
tetradic
#F5E070 #70F59D #7085F5 #F570C8
square
#F5E070 #70F59D #7085F5 #F570C8
split-complementary
#F5E070 #70C8F5 #9D70F5
monochromatic
#DBBB0F #F1D437 #F5E070 #F9ECA9 #FDF9E2

Accessibility & contrast

On white

1.33
#F5E070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#F5E070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E070
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E070#FFFFFF#000000##000000
##F5E0701.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB65
Deuteranopia (green-blind)
#F8E375
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e070;
/* rgb */ color: rgb(245, 224, 112);
/* oklch */ color: oklch(90.2% 0.134 98.9);
Tailwind
colors: {
  custom: {
    50: '#fbe99c',
    500: '#f5e070',
    950: '#000000',
  },
}
SCSS
$custom: #f5e070;
$custom-light: #fbe99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e070",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 50.526,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.90186,
    "c": 0.13434,
    "h": 98.9
  },
  "luminance": 0.73894
}

Semantic roles & 50–950 ramp

primary
#F5E070
secondary
#3A52CF
accent
#26E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E070

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

Preview Lab → · Contrast checker → · Palette generator →

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