#F5ED6E#F5ED6E

#F5ED6E is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.8% C 0.148 H 105.6°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F5ED6E
RGBrgb(245, 237, 110)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 55%, 96%)
CMYKcmyk(0%, 3.3%, 55.1%, 3.9%)
CIE-LABlab(92.18, -13.14, 61.37)
CIE-LCHlch(92.18, 62.76, 102.08°)
OKLaboklab(92.8% -0.0399 0.1427)
OKLCHoklch(92.8% 0.148 105.6)
XYZxyz(70.7570, 81.1089, 26.6772)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED6E #6E76F5
analogous
#F5A96E #F5ED6E #BAF56E
triadic
#F5ED6E #6EF5ED #ED6EF5
tetradic
#F5ED6E #6EF5A9 #6E76F5 #F56EBA
square
#F5ED6E #6EF5A9 #6E76F5 #F56EBA
split-complementary
#F5ED6E #6EBAF5 #A96EF5
monochromatic
#DACE0F #F1E635 #F5ED6E #F9F4A7 #FDFBE1

Accessibility & contrast

On white

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

On black

17.22
#F5ED6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED6E
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED6E#FFFFFF#000000##000000
##F5ED6E1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE561
Deuteranopia (green-blind)
#FFEB75
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed6e;
/* rgb */ color: rgb(245, 237, 110);
/* oklch */ color: oklch(92.8% 0.148 105.6);
Tailwind
colors: {
  custom: {
    50: '#fbf29b',
    500: '#f5ed6e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed6e;
$custom-light: #fbf29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed6e",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 110
  },
  "hsl": {
    "h": 56.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92804,
    "c": 0.14814,
    "h": 105.6
  },
  "luminance": 0.81107
}

Semantic roles & 50–950 ramp

primary
#F5ED6E
secondary
#3841CF
accent
#0FE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED6E

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

Preview Lab → · Contrast checker → · Palette generator →

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