#F5EF72#F5EF72

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

Color values

HEX#F5EF72
RGBrgb(245, 239, 114)
HSLhsl(57, 87%, 70%)
HSVhsv(57, 53%, 96%)
CMYKcmyk(0%, 2.4%, 53.5%, 3.9%)
CIE-LABlab(92.73, -13.82, 60.22)
CIE-LCHlch(92.73, 61.79, 102.92°)
OKLaboklab(93.26% -0.0414 0.1406)
OKLCHoklch(93.26% 0.147 106.4)
XYZxyz(71.5620, 82.3625, 28.0442)
Luminance0.8236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF72 #7278F5
analogous
#F5AD72 #F5EF72 #B9F572
triadic
#F5EF72 #72F5EF #EF72F5
tetradic
#F5EF72 #72F5AD #7278F5 #F572B9
square
#F5EF72 #72F5AD #7278F5 #F572B9
split-complementary
#F5EF72 #72B9F5 #AD72F5
monochromatic
#DDD410 #F1E939 #F5EF72 #F9F5AB #FDFCE2

Accessibility & contrast

On white

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

On black

17.47
#F5EF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF72
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF72#FFFFFF#000000##000000
##F5EF721.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef72;
/* rgb */ color: rgb(245, 239, 114);
/* oklch */ color: oklch(93.3% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#fbf49e',
    500: '#f5ef72',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef72;
$custom-light: #fbf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef72",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 114
  },
  "hsl": {
    "h": 57.252,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93258,
    "c": 0.1466,
    "h": 106.4
  },
  "luminance": 0.8236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5EF72

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

Preview Lab → · Contrast checker → · Palette generator →

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