#F5EF6A#F5EF6A

#F5EF6A is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.154 H 106.6°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F5EF6A
RGBrgb(245, 239, 106)
HSLhsl(57, 87%, 69%)
HSVhsv(57, 57%, 96%)
CMYKcmyk(0%, 2.4%, 56.7%, 3.9%)
CIE-LABlab(92.66, -14.41, 63.66)
CIE-LCHlch(92.66, 65.27, 102.75°)
OKLaboklab(93.17% -0.0439 0.1471)
OKLCHoklch(93.17% 0.154 106.6)
XYZxyz(71.1264, 82.1883, 25.7501)
Luminance0.8219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF6A #6A70F5
analogous
#F5AA6A #F5EF6A #B6F56A
triadic
#F5EF6A #6AF5EF #EF6AF5
tetradic
#F5EF6A #6AF5AA #6A70F5 #F56AB6
square
#F5EF6A #6AF5AA #6A70F5 #F56AB6
split-complementary
#F5EF6A #6AB6F5 #AA6AF5
monochromatic
#D6CE0E #F1E931 #F5EF6A #F9F5A3 #FDFBDD

Accessibility & contrast

On white

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

On black

17.44
#F5EF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF6A
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF6A#FFFFFF#000000##000000
##F5EF6A1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFED71
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef6a;
/* rgb */ color: rgb(245, 239, 106);
/* oklch */ color: oklch(93.2% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fbf499',
    500: '#f5ef6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef6a;
$custom-light: #fbf499;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef6a",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 106
  },
  "hsl": {
    "h": 57.41,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93173,
    "c": 0.15353,
    "h": 106.6
  },
  "luminance": 0.82186
}

Semantic roles & 50–950 ramp

primary
#F5EF6A
secondary
#353BCE
accent
#0BE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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