#F5EB70#F5EB70

#F5EB70 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.144 H 104.6°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F5EB70
RGBrgb(245, 235, 112)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.1%, 54.3%, 3.9%)
CIE-LABlab(91.69, -12.00, 59.91)
CIE-LCHlch(91.69, 61.10, 101.33°)
OKLaboklab(92.42% -0.0364 0.1398)
OKLCHoklch(92.42% 0.144 104.6)
XYZxyz(70.2913, 80.0013, 27.0652)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EB70 #707AF5
analogous
#F5A970 #F5EB70 #BCF570
triadic
#F5EB70 #70F5EB #EB70F5
tetradic
#F5EB70 #70F5A9 #707AF5 #F570BC
square
#F5EB70 #70F5A9 #707AF5 #F570BC
split-complementary
#F5EB70 #70BCF5 #A970F5
monochromatic
#DBCC0F #F1E337 #F5EB70 #F9F3A9 #FDFBE2

Accessibility & contrast

On white

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

On black

17.00
#F5EB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EB70
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EB70#FFFFFF#000000##000000
##F5EB701.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE464
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5eb70;
/* rgb */ color: rgb(245, 235, 112);
/* oklch */ color: oklch(92.4% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fbf19d',
    500: '#f5eb70',
    950: '#000000',
  },
}
SCSS
$custom: #f5eb70;
$custom-light: #fbf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eb70",
  "rgb": {
    "r": 245,
    "g": 235,
    "b": 112
  },
  "hsl": {
    "h": 55.489,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.92417,
    "c": 0.14442,
    "h": 104.6
  },
  "luminance": 0.79999
}

Semantic roles & 50–950 ramp

primary
#F5EB70
secondary
#3A45CF
accent
#13E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5EB70

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

Preview Lab → · Contrast checker → · Palette generator →

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