#F5E767#F5E767

#F5E767 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.5% C 0.148 H 103.1°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F5E767
RGBrgb(245, 231, 103)
HSLhsl(54, 88%, 68%)
HSVhsv(54, 58%, 96%)
CMYKcmyk(0%, 5.7%, 58%, 3.9%)
CIE-LABlab(90.57, -10.68, 62.63)
CIE-LCHlch(90.57, 63.54, 99.68°)
OKLaboklab(91.51% -0.0336 0.1446)
OKLCHoklch(91.51% 0.148 103.1)
XYZxyz(68.6827, 77.5461, 24.1793)
Luminance0.7754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E767 #6775F5
analogous
#F5A067 #F5E767 #BCF567
triadic
#F5E767 #67F5E7 #E767F5
tetradic
#F5E767 #67F5A0 #6775F5 #F567BC
square
#F5E767 #67F5A0 #6775F5 #F567BC
split-complementary
#F5E767 #67BCF5 #A067F5
monochromatic
#D4C00E #F1DE2E #F5E767 #F9F0A0 #FDF9DA

Accessibility & contrast

On white

1.27
#F5E767 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F5E767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E767
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E767#FFFFFF#000000##000000
##F5E7671.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE059
Deuteranopia (green-blind)
#FEE76E
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e767;
/* rgb */ color: rgb(245, 231, 103);
/* oklch */ color: oklch(91.5% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#fbee97',
    500: '#f5e767',
    950: '#000000',
  },
}
SCSS
$custom: #f5e767;
$custom-light: #fbee97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e767",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 103
  },
  "hsl": {
    "h": 54.085,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91505,
    "c": 0.14842,
    "h": 103.1
  },
  "luminance": 0.77544
}

Semantic roles & 50–950 ramp

primary
#F5E767
secondary
#3242CE
accent
#18E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E767

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

Preview Lab → · Contrast checker → · Palette generator →

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