#F5EE6A#F5EE6A

#F5EE6A is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.153 H 106.2°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F5EE6A
RGBrgb(245, 238, 106)
HSLhsl(57, 87%, 69%)
HSVhsv(57, 57%, 96%)
CMYKcmyk(0%, 2.9%, 56.7%, 3.9%)
CIE-LABlab(92.40, -13.92, 63.37)
CIE-LCHlch(92.40, 64.88, 102.39°)
OKLaboklab(92.97% -0.0425 0.1465)
OKLCHoklch(92.97% 0.153 106.2)
XYZxyz(70.8344, 81.6044, 25.6528)
Luminance0.8160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE6A #6A71F5
analogous
#F5A96A #F5EE6A #B7F56A
triadic
#F5EE6A #6AF5EE #EE6AF5
tetradic
#F5EE6A #6AF5A9 #6A71F5 #F56AB7
square
#F5EE6A #6AF5A9 #6A71F5 #F56AB7
split-complementary
#F5EE6A #6AB7F5 #A96AF5
monochromatic
#D6CC0E #F1E731 #F5EE6A #F9F5A3 #FDFBDD

Accessibility & contrast

On white

1.21
#F5EE6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#F5EE6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE6A
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE6A#FFFFFF#000000##000000
##F5EE6A1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65C
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ee6a;
/* rgb */ color: rgb(245, 238, 106);
/* oklch */ color: oklch(93.0% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fbf399',
    500: '#f5ee6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee6a;
$custom-light: #fbf399;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee6a",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 106
  },
  "hsl": {
    "h": 56.978,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92967,
    "c": 0.15255,
    "h": 106.2
  },
  "luminance": 0.81602
}

Semantic roles & 50–950 ramp

primary
#F5EE6A
secondary
#353DCE
accent
#0DE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EE6A

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

Preview Lab → · Contrast checker → · Palette generator →

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