#F5EA61#F5EA61

#F5EA61 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.156 H 104.7°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F5EA61
RGBrgb(245, 234, 97)
HSLhsl(56, 88%, 67%)
HSVhsv(56, 60%, 96%)
CMYKcmyk(0%, 4.5%, 60.4%, 3.9%)
CIE-LABlab(91.29, -12.57, 65.99)
CIE-LCHlch(91.29, 67.17, 100.78°)
OKLaboklab(92.06% -0.0396 0.1509)
OKLCHoklch(92.06% 0.156 104.7)
XYZxyz(69.2391, 79.1236, 22.9321)
Luminance0.7912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA61 #616CF5
analogous
#F5A061 #F5EA61 #B6F561
triadic
#F5EA61 #61F5EA #EA61F5
tetradic
#F5EA61 #61F5A0 #616CF5 #F561B6
square
#F5EA61 #61F5A0 #616CF5 #F561B6
split-complementary
#F5EA61 #61B6F5 #A061F5
monochromatic
#CFC00D #F1E227 #F5EA61 #F9F29B #FCF9D4

Accessibility & contrast

On white

1.25
#F5EA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#F5EA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA61
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA61#FFFFFF#000000##000000
##F5EA611.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE251
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea61;
/* rgb */ color: rgb(245, 234, 97);
/* oklch */ color: oklch(92.1% 0.156 104.7);
Tailwind
colors: {
  custom: {
    50: '#fcf093',
    500: '#f5ea61',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea61;
$custom-light: #fcf093;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea61",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 97
  },
  "hsl": {
    "h": 55.541,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.92059,
    "c": 0.15606,
    "h": 104.7
  },
  "luminance": 0.79121
}

Semantic roles & 50–950 ramp

primary
#F5EA61
secondary
#303BCA
accent
#12E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EA61

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

Preview Lab → · Contrast checker → · Palette generator →

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