#F5D56E#F5D56E

#F5D56E is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 88.0% C 0.128 H 92.4°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#F5D56E
RGBrgb(245, 213, 110)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 55%, 96%)
CMYKcmyk(0%, 13.1%, 55.1%, 3.9%)
CIE-LABlab(86.07, -1.11, 54.32)
CIE-LCHlch(86.07, 54.33, 91.17°)
OKLaboklab(87.96% -0.0053 0.1274)
OKLCHoklch(87.96% 0.128 92.4)
XYZxyz(64.2675, 68.1299, 24.5140)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D56E #6E8EF5
analogous
#F5926E #F5D56E #D1F56E
triadic
#F5D56E #6EF5D5 #D56EF5
tetradic
#F5D56E #6EF592 #6E8EF5 #F56ED1
square
#F5D56E #6EF592 #6E8EF5 #F56ED1
split-complementary
#F5D56E #6ED1F5 #926EF5
monochromatic
#DAAA0F #F1C435 #F5D56E #F9E6A7 #FDF6E1

Accessibility & contrast

On white

1.44
#F5D56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#F5D56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D56E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D56E#FFFFFF#000000##000000
##F5D56E1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D264
Deuteranopia (green-blind)
#F0DB72
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d56e;
/* rgb */ color: rgb(245, 213, 110);
/* oklch */ color: oklch(88.0% 0.128 92.4);
Tailwind
colors: {
  custom: {
    50: '#fbe19a',
    500: '#f5d56e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d56e;
$custom-light: #fbe19a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d56e",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 110
  },
  "hsl": {
    "h": 45.778,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87963,
    "c": 0.12755,
    "h": 92.4
  },
  "luminance": 0.68127
}

Semantic roles & 50–950 ramp

primary
#F5D56E
secondary
#385CCF
accent
#37E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D56E

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

Preview Lab → · Contrast checker → · Palette generator →

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