#F5E36F#F5E36F

#F5E36F is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.138 H 100.6°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F5E36F
RGBrgb(245, 227, 111)
HSLhsl(52, 87%, 70%)
HSVhsv(52, 55%, 96%)
CMYKcmyk(0%, 7.3%, 54.7%, 3.9%)
CIE-LABlab(89.63, -8.10, 57.99)
CIE-LCHlch(89.63, 58.56, 97.96°)
OKLaboklab(90.78% -0.0254 0.1355)
OKLCHoklch(90.78% 0.138 100.6)
XYZxyz(67.9968, 75.5009, 26.0272)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E36F #6F81F5
analogous
#F5A06F #F5E36F #C4F56F
triadic
#F5E36F #6FF5E3 #E36FF5
tetradic
#F5E36F #6FF5A0 #6F81F5 #F56FC4
square
#F5E36F #6FF5A0 #6F81F5 #F56FC4
split-complementary
#F5E36F #6FC4F5 #A06FF5
monochromatic
#DABF0F #F1D836 #F5E36F #F9EEA8 #FDF9E1

Accessibility & contrast

On white

1.30
#F5E36F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F5E36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E36F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E36F#FFFFFF#000000##000000
##F5E36F1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD64
Deuteranopia (green-blind)
#FAE574
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e36f;
/* rgb */ color: rgb(245, 227, 111);
/* oklch */ color: oklch(90.8% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#fbeb9b',
    500: '#f5e36f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e36f;
$custom-light: #fbeb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e36f",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 111
  },
  "hsl": {
    "h": 51.94,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9078,
    "c": 0.13785,
    "h": 100.6
  },
  "luminance": 0.75498
}

Semantic roles & 50–950 ramp

primary
#F5E36F
secondary
#394DCF
accent
#20E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E36F

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

Preview Lab → · Contrast checker → · Palette generator →

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