#F5EC6E#F5EC6E

#F5EC6E is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.6% C 0.147 H 105.2°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F5EC6E
RGBrgb(245, 236, 110)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 55%, 96%)
CMYKcmyk(0%, 3.7%, 55.1%, 3.9%)
CIE-LABlab(91.92, -12.65, 61.08)
CIE-LCHlch(91.92, 62.37, 101.70°)
OKLaboklab(92.6% -0.0385 0.142)
OKLCHoklch(92.6% 0.147 105.2)
XYZxyz(70.4683, 80.5314, 26.5809)
Luminance0.8053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC6E #6E77F5
analogous
#F5A96E #F5EC6E #BBF56E
triadic
#F5EC6E #6EF5EC #EC6EF5
tetradic
#F5EC6E #6EF5A9 #6E77F5 #F56EBB
square
#F5EC6E #6EF5A9 #6E77F5 #F56EBB
split-complementary
#F5EC6E #6EBBF5 #A96EF5
monochromatic
#DACC0F #F1E435 #F5EC6E #F9F4A7 #FDFBE1

Accessibility & contrast

On white

1.23
#F5EC6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#F5EC6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC6E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC6E#FFFFFF#000000##000000
##F5EC6E1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE461
Deuteranopia (green-blind)
#FFEB75
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec6e;
/* rgb */ color: rgb(245, 236, 110);
/* oklch */ color: oklch(92.6% 0.147 105.2);
Tailwind
colors: {
  custom: {
    50: '#fbf19b',
    500: '#f5ec6e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec6e;
$custom-light: #fbf19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec6e",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 110
  },
  "hsl": {
    "h": 56,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.926,
    "c": 0.14716,
    "h": 105.2
  },
  "luminance": 0.80529
}

Semantic roles & 50–950 ramp

primary
#F5EC6E
secondary
#3842CF
accent
#11E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5EC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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