#F5EF76#F5EF76

#F5EF76 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.143 H 106.3°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#F5EF76
RGBrgb(245, 239, 118)
HSLhsl(57, 86%, 71%)
HSVhsv(57, 52%, 96%)
CMYKcmyk(0%, 2.4%, 51.8%, 3.9%)
CIE-LABlab(92.78, -13.50, 58.47)
CIE-LCHlch(92.78, 60.01, 103.00°)
OKLaboklab(93.3% -0.0401 0.1372)
OKLCHoklch(93.3% 0.143 106.3)
XYZxyz(71.7947, 82.4556, 29.2696)
Luminance0.8245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF76 #767CF5
analogous
#F5AF76 #F5EF76 #BBF576
triadic
#F5EF76 #76F5EF #EF76F5
tetradic
#F5EF76 #76F5AF #767CF5 #F576BB
square
#F5EF76 #76F5AF #767CF5 #F576BB
split-complementary
#F5EF76 #76BBF5 #AF76F5
monochromatic
#E0D610 #F1E83D #F5EF76 #F9F6AF #FDFCE2

Accessibility & contrast

On white

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

On black

17.49
#F5EF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF76
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF76#FFFFFF#000000##000000
##F5EF761.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76A
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef76;
/* rgb */ color: rgb(245, 239, 118);
/* oklch */ color: oklch(93.3% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#fbf4a1',
    500: '#f5ef76',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef76;
$custom-light: #fbf4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef76",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 57.165,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93304,
    "c": 0.14296,
    "h": 106.3
  },
  "luminance": 0.82453
}

Semantic roles & 50–950 ramp

primary
#F5EF76
secondary
#3F46D0
accent
#0DE303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF76

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

Preview Lab → · Contrast checker → · Palette generator →

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