#F5E66F#F5E66F

#F5E66F is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.4% C 0.141 H 102.2°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F5E66F
RGBrgb(245, 230, 111)
HSLhsl(53, 87%, 70%)
HSVhsv(53, 55%, 96%)
CMYKcmyk(0%, 6.1%, 54.7%, 3.9%)
CIE-LABlab(90.39, -9.60, 58.88)
CIE-LCHlch(90.39, 59.65, 99.26°)
OKLaboklab(91.39% -0.0297 0.1374)
OKLCHoklch(91.39% 0.141 102.2)
XYZxyz(68.8245, 77.1563, 26.3031)
Luminance0.7715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E66F #6F7EF5
analogous
#F5A36F #F5E66F #C1F56F
triadic
#F5E66F #6FF5E6 #E66FF5
tetradic
#F5E66F #6FF5A3 #6F7EF5 #F56FC1
square
#F5E66F #6FF5A3 #6F7EF5 #F56FC1
split-complementary
#F5E66F #6FC1F5 #A36FF5
monochromatic
#DAC40F #F1DC36 #F5E66F #F9F0A8 #FDFAE1

Accessibility & contrast

On white

1.28
#F5E66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F5E66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E66F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E66F#FFFFFF#000000##000000
##F5E66F1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E063
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e66f;
/* rgb */ color: rgb(245, 230, 111);
/* oklch */ color: oklch(91.4% 0.141 102.2);
Tailwind
colors: {
  custom: {
    50: '#fbed9c',
    500: '#f5e66f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e66f;
$custom-light: #fbed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e66f",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 111
  },
  "hsl": {
    "h": 53.284,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91388,
    "c": 0.14057,
    "h": 102.2
  },
  "luminance": 0.77154
}

Semantic roles & 50–950 ramp

primary
#F5E66F
secondary
#394ACF
accent
#1BE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E66F

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

Preview Lab → · Contrast checker → · Palette generator →

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