#F5EB62#F5EB62

#F5EB62 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.156 H 105.1°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F5EB62
RGBrgb(245, 235, 98)
HSLhsl(56, 88%, 67%)
HSVhsv(56, 60%, 96%)
CMYKcmyk(0%, 4.1%, 60%, 3.9%)
CIE-LABlab(91.56, -12.99, 65.86)
CIE-LCHlch(91.56, 67.13, 101.16°)
OKLaboklab(92.27% -0.0408 0.1508)
OKLCHoklch(92.27% 0.156 105.1)
XYZxyz(69.5715, 79.7134, 23.2744)
Luminance0.7971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EB62 #626CF5
analogous
#F5A162 #F5EB62 #B6F562
triadic
#F5EB62 #62F5EB #EB62F5
tetradic
#F5EB62 #62F5A1 #626CF5 #F562B6
square
#F5EB62 #62F5A1 #626CF5 #F562B6
split-complementary
#F5EB62 #62B6F5 #A162F5
monochromatic
#CFC20D #F1E428 #F5EB62 #F9F29C #FCFAD5

Accessibility & contrast

On white

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

On black

16.94
#F5EB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EB62
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EB62#FFFFFF#000000##000000
##F5EB621.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#FFEA6A
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5eb62;
/* rgb */ color: rgb(245, 235, 98);
/* oklch */ color: oklch(92.3% 0.156 105.1);
Tailwind
colors: {
  custom: {
    50: '#fbf194',
    500: '#f5eb62',
    950: '#000000',
  },
}
SCSS
$custom: #f5eb62;
$custom-light: #fbf194;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eb62",
  "rgb": {
    "r": 245,
    "g": 235,
    "b": 98
  },
  "hsl": {
    "h": 55.918,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92273,
    "c": 0.15621,
    "h": 105.1
  },
  "luminance": 0.79711
}

Semantic roles & 50–950 ramp

primary
#F5EB62
secondary
#303BCB
accent
#10E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EB62

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

Preview Lab → · Contrast checker → · Palette generator →

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