#F5EF75#F5EF75

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

Color values

HEX#F5EF75
RGBrgb(245, 239, 117)
HSLhsl(57, 86%, 71%)
HSVhsv(57, 52%, 96%)
CMYKcmyk(0%, 2.4%, 52.2%, 3.9%)
CIE-LABlab(92.77, -13.58, 58.91)
CIE-LCHlch(92.77, 60.45, 102.98°)
OKLaboklab(93.29% -0.0404 0.1381)
OKLCHoklch(93.29% 0.144 106.3)
XYZxyz(71.7356, 82.4319, 28.9583)
Luminance0.8243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF75 #757BF5
analogous
#F5AF75 #F5EF75 #BBF575
triadic
#F5EF75 #75F5EF #EF75F5
tetradic
#F5EF75 #75F5AF #757BF5 #F575BB
square
#F5EF75 #75F5AF #757BF5 #F575BB
split-complementary
#F5EF75 #75BBF5 #AF75F5
monochromatic
#DFD610 #F1E83C #F5EF75 #F9F6AE #FDFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5EF75#FFFFFF#000000##000000
##F5EF751.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)
#FFE769
Deuteranopia (green-blind)
#FFED7B
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef75;
/* rgb */ color: rgb(245, 239, 117);
/* oklch */ color: oklch(93.3% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#fbf4a0',
    500: '#f5ef75',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef75;
$custom-light: #fbf4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef75",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 117
  },
  "hsl": {
    "h": 57.188,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93292,
    "c": 0.14388,
    "h": 106.3
  },
  "luminance": 0.8243
}

Semantic roles & 50–950 ramp

primary
#F5EF75
secondary
#3F45D0
accent
#0DE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF75

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

Preview Lab → · Contrast checker → · Palette generator →

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