#F5EF7A#F5EF7A

#F5EF7A is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.4% C 0.139 H 106.2°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F5EF7A
RGBrgb(245, 239, 122)
HSLhsl(57, 86%, 72%)
HSVhsv(57, 50%, 96%)
CMYKcmyk(0%, 2.4%, 50.2%, 3.9%)
CIE-LABlab(92.82, -13.17, 56.69)
CIE-LCHlch(92.82, 58.20, 103.08°)
OKLaboklab(93.35% -0.0387 0.1337)
OKLCHoklch(93.35% 0.139 106.2)
XYZxyz(72.0374, 82.5527, 30.5481)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF7A #7A80F5
analogous
#F5B27A #F5EF7A #BEF57A
triadic
#F5EF7A #7AF5EF #EF7AF5
tetradic
#F5EF7A #7AF5B2 #7A80F5 #F57ABE
square
#F5EF7A #7AF5B2 #7A80F5 #F57ABE
split-complementary
#F5EF7A #7ABEF5 #B27AF5
monochromatic
#E3D911 #F1E841 #F5EF7A #F9F6B3 #FDFCE3

Accessibility & contrast

On white

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

On black

17.51
#F5EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF7A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF7A#FFFFFF#000000##000000
##F5EF7A1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5ef7a;
/* rgb */ color: rgb(245, 239, 122);
/* oklch */ color: oklch(93.4% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#fbf4a3',
    500: '#f5ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef7a;
$custom-light: #fbf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef7a",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 57.073,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93352,
    "c": 0.13924,
    "h": 106.2
  },
  "luminance": 0.82551
}

Semantic roles & 50–950 ramp

primary
#F5EF7A
secondary
#434AD0
accent
#0EE303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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