#F5EF7E#F5EF7E

#F5EF7E is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.135 H 106.0°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F5EF7E
RGBrgb(245, 239, 126)
HSLhsl(57, 86%, 73%)
HSVhsv(57, 49%, 96%)
CMYKcmyk(0%, 2.4%, 48.6%, 3.9%)
CIE-LABlab(92.86, -12.83, 54.89)
CIE-LCHlch(92.86, 56.37, 103.16°)
OKLaboklab(93.4% -0.0374 0.1301)
OKLCHoklch(93.4% 0.135 106)
XYZxyz(72.2904, 82.6538, 31.8804)
Luminance0.8265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF7E #7E84F5
analogous
#F5B47E #F5EF7E #BFF57E
triadic
#F5EF7E #7EF5EF #EF7EF5
tetradic
#F5EF7E #7EF5B4 #7E84F5 #F57EBF
square
#F5EF7E #7EF5B4 #7E84F5 #F57EBF
split-complementary
#F5EF7E #7EBFF5 #B47EF5
monochromatic
#E7DC12 #F1E845 #F5EF7E #F9F6B7 #FDFBE3

Accessibility & contrast

On white

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

On black

17.53
#F5EF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF7E
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF7E#FFFFFF#000000##000000
##F5EF7E1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE874
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef7e;
/* rgb */ color: rgb(245, 239, 126);
/* oklch */ color: oklch(93.4% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#faf4a6',
    500: '#f5ef7e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef7e;
$custom-light: #faf4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef7e",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 126
  },
  "hsl": {
    "h": 56.975,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93402,
    "c": 0.13541,
    "h": 106
  },
  "luminance": 0.82652
}

Semantic roles & 50–950 ramp

primary
#F5EF7E
secondary
#464DD1
accent
#0FE203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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