#F5EC70#F5EC70

#F5EC70 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.145 H 105.1°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F5EC70
RGBrgb(245, 236, 112)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 3.7%, 54.3%, 3.9%)
CIE-LABlab(91.94, -12.50, 60.21)
CIE-LCHlch(91.94, 61.49, 101.72°)
OKLaboklab(92.62% -0.0378 0.1404)
OKLCHoklch(92.62% 0.145 105.1)
XYZxyz(70.5784, 80.5755, 27.1609)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC70 #7079F5
analogous
#F5AA70 #F5EC70 #BBF570
triadic
#F5EC70 #70F5EC #EC70F5
tetradic
#F5EC70 #70F5AA #7079F5 #F570BB
square
#F5EC70 #70F5AA #7079F5 #F570BB
split-complementary
#F5EC70 #70BBF5 #AA70F5
monochromatic
#DBCD0F #F1E437 #F5EC70 #F9F4A9 #FDFBE2

Accessibility & contrast

On white

1.23
#F5EC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#F5EC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC70
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC70#FFFFFF#000000##000000
##F5EC701.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#FFEB76
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec70;
/* rgb */ color: rgb(245, 236, 112);
/* oklch */ color: oklch(92.6% 0.145 105.1);
Tailwind
colors: {
  custom: {
    50: '#fbf19d',
    500: '#f5ec70',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec70;
$custom-light: #fbf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec70",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 55.94,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.92622,
    "c": 0.1454,
    "h": 105.1
  },
  "luminance": 0.80573
}

Semantic roles & 50–950 ramp

primary
#F5EC70
secondary
#3A44CF
accent
#11E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5EC70

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

Preview Lab → · Contrast checker → · Palette generator →

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