#F5ED70#F5ED70

#F5ED70 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.146 H 105.5°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F5ED70
RGBrgb(245, 237, 112)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 3.3%, 54.3%, 3.9%)
CIE-LABlab(92.20, -12.99, 60.50)
CIE-LCHlch(92.20, 61.88, 102.12°)
OKLaboklab(92.83% -0.0392 0.141)
OKLCHoklch(92.83% 0.146 105.5)
XYZxyz(70.8671, 81.1529, 27.2571)
Luminance0.8115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED70 #7078F5
analogous
#F5AB70 #F5ED70 #BAF570
triadic
#F5ED70 #70F5ED #ED70F5
tetradic
#F5ED70 #70F5AB #7078F5 #F570BA
square
#F5ED70 #70F5AB #7078F5 #F570BA
split-complementary
#F5ED70 #70BAF5 #AB70F5
monochromatic
#DBCF0F #F1E637 #F5ED70 #F9F4A9 #FDFBE2

Accessibility & contrast

On white

1.22
#F5ED70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F5ED70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED70
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED70#FFFFFF#000000##000000
##F5ED701.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE564
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed70;
/* rgb */ color: rgb(245, 237, 112);
/* oklch */ color: oklch(92.8% 0.146 105.5);
Tailwind
colors: {
  custom: {
    50: '#fbf29d',
    500: '#f5ed70',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed70;
$custom-light: #fbf29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed70",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 112
  },
  "hsl": {
    "h": 56.391,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.92826,
    "c": 0.14638,
    "h": 105.5
  },
  "luminance": 0.81151
}

Semantic roles & 50–950 ramp

primary
#F5ED70
secondary
#3A43CF
accent
#10E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED70

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

Preview Lab → · Contrast checker → · Palette generator →

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