#F5E693#F5E693

#F5E693 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.9% C 0.105 H 99.3°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F5E693
RGBrgb(245, 230, 147)
HSLhsl(51, 83%, 77%)
HSVhsv(51, 40%, 96%)
CMYKcmyk(0%, 6.1%, 40%, 3.9%)
CIE-LABlab(90.83, -6.34, 42.25)
CIE-LCHlch(90.83, 42.72, 98.53°)
OKLaboklab(91.88% -0.0168 0.1032)
OKLCHoklch(91.88% 0.105 99.3)
XYZxyz(71.2209, 78.1148, 38.9241)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E693 #93A2F5
analogous
#F5B593 #F5E693 #D3F593
triadic
#F5E693 #93F5E6 #E693F5
tetradic
#F5E693 #93F5B5 #93A2F5 #F593D3
square
#F5E693 #93F5B5 #93A2F5 #F593D3
split-complementary
#F5E693 #93D3F5 #B593F5
monochromatic
#EBCC23 #F0D95B #F5E693 #FAF3CB #FCF9E3

Accessibility & contrast

On white

1.26
#F5E693 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F5E693 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E693
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E693#FFFFFF#000000##000000
##F5E6931.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E18D
Deuteranopia (green-blind)
#F9E796
Tritanopia (blue-blind)
#FFDBD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e693;
/* rgb */ color: rgb(245, 230, 147);
/* oklch */ color: oklch(91.9% 0.105 99.3);
Tailwind
colors: {
  custom: {
    50: '#faedb4',
    500: '#f5e693',
    950: '#000000',
  },
}
SCSS
$custom: #f5e693;
$custom-light: #faedb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e693",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 147
  },
  "hsl": {
    "h": 50.816,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91878,
    "c": 0.1046,
    "h": 99.3
  },
  "luminance": 0.78113
}

Semantic roles & 50–950 ramp

primary
#F5E693
secondary
#596CD3
accent
#27DF06
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E693

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

Preview Lab → · Contrast checker → · Palette generator →

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