#F5ED7A#F5ED7A

#F5ED7A is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.9% C 0.137 H 105.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F5ED7A
RGBrgb(245, 237, 122)
HSLhsl(56, 86%, 72%)
HSVhsv(56, 50%, 96%)
CMYKcmyk(0%, 3.3%, 50.2%, 3.9%)
CIE-LABlab(92.30, -12.19, 56.08)
CIE-LCHlch(92.30, 57.39, 102.26°)
OKLaboklab(92.94% -0.0359 0.1324)
OKLCHoklch(92.94% 0.137 105.2)
XYZxyz(71.4551, 81.3881, 30.3540)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED7A #7A82F5
analogous
#F5B07A #F5ED7A #BFF57A
triadic
#F5ED7A #7AF5ED #ED7AF5
tetradic
#F5ED7A #7AF5B0 #7A82F5 #F57ABF
square
#F5ED7A #7AF5B0 #7A82F5 #F57ABF
split-complementary
#F5ED7A #7ABFF5 #B07AF5
monochromatic
#E3D611 #F1E541 #F5ED7A #F9F5B3 #FDFBE3

Accessibility & contrast

On white

1.22
#F5ED7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F5ED7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED7A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED7A#FFFFFF#000000##000000
##F5ED7A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66F
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed7a;
/* rgb */ color: rgb(245, 237, 122);
/* oklch */ color: oklch(92.9% 0.137 105.2);
Tailwind
colors: {
  custom: {
    50: '#fbf2a3',
    500: '#f5ed7a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed7a;
$custom-light: #fbf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed7a",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 122
  },
  "hsl": {
    "h": 56.098,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92943,
    "c": 0.1372,
    "h": 105.2
  },
  "luminance": 0.81386
}

Semantic roles & 50–950 ramp

primary
#F5ED7A
secondary
#434CD0
accent
#12E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5ED7A

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

Preview Lab → · Contrast checker → · Palette generator →

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