#F5EF6D#F5EF6D

#F5EF6D is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.151 H 106.5°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F5EF6D
RGBrgb(245, 239, 109)
HSLhsl(57, 87%, 69%)
HSVhsv(57, 56%, 96%)
CMYKcmyk(0%, 2.4%, 55.5%, 3.9%)
CIE-LABlab(92.69, -14.19, 62.38)
CIE-LCHlch(92.69, 63.98, 102.82°)
OKLaboklab(93.2% -0.043 0.1447)
OKLCHoklch(93.2% 0.151 106.5)
XYZxyz(71.2851, 82.2518, 26.5862)
Luminance0.8225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF6D #6D73F5
analogous
#F5AB6D #F5EF6D #B7F56D
triadic
#F5EF6D #6DF5EF #EF6DF5
tetradic
#F5EF6D #6DF5AB #6D73F5 #F56DB7
square
#F5EF6D #6DF5AB #6D73F5 #F56DB7
split-complementary
#F5EF6D #6DB7F5 #AB6DF5
monochromatic
#D9D00F #F1E934 #F5EF6D #F9F5A6 #FDFCE0

Accessibility & contrast

On white

1.20
#F5EF6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#F5EF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF6D
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF6D#FFFFFF#000000##000000
##F5EF6D1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE760
Deuteranopia (green-blind)
#FFED74
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef6d;
/* rgb */ color: rgb(245, 239, 109);
/* oklch */ color: oklch(93.2% 0.151 106.5);
Tailwind
colors: {
  custom: {
    50: '#fbf49b',
    500: '#f5ef6d',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef6d;
$custom-light: #fbf49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef6d",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 109
  },
  "hsl": {
    "h": 57.353,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93204,
    "c": 0.15098,
    "h": 106.5
  },
  "luminance": 0.8225
}

Semantic roles & 50–950 ramp

primary
#F5EF6D
secondary
#373ECF
accent
#0CE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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