#F0D863#F0D863

#F0D863 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.139 H 97.8°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F0D863
RGBrgb(240, 216, 99)
HSLhsl(50, 82%, 66%)
HSVhsv(50, 59%, 94%)
CMYKcmyk(0%, 10%, 58.8%, 5.9%)
CIE-LABlab(86.28, -5.48, 59.47)
CIE-LCHlch(86.28, 59.72, 95.27°)
OKLaboklab(87.98% -0.0189 0.1374)
OKLCHoklch(87.98% 0.139 97.8)
XYZxyz(62.7457, 68.5406, 21.7265)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D863 #637BF0
analogous
#F09263 #F0D863 #C2F063
triadic
#F0D863 #63F0D8 #D863F0
tetradic
#F0D863 #63F092 #637BF0 #F063C2
square
#F0D863 #63F092 #637BF0 #F063C2
split-complementary
#F0D863 #63C2F0 #9263F0
monochromatic
#C6A713 #EBCA2B #F0D863 #F5E69B #FBF4D3

Accessibility & contrast

On white

1.43
#F0D863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#F0D863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D863
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D863#FFFFFF#000000##000000
##F0D8631.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD357
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f0d863;
/* rgb */ color: rgb(240, 216, 99);
/* oklch */ color: oklch(88.0% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#f8e393',
    500: '#f0d863',
    950: '#000000',
  },
}
SCSS
$custom: #f0d863;
$custom-light: #f8e393;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d863",
  "rgb": {
    "r": 240,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 49.787,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87984,
    "c": 0.13871,
    "h": 97.8
  },
  "luminance": 0.68538
}

Semantic roles & 50–950 ramp

primary
#F0D863
secondary
#344DC3
accent
#2BDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D863

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

Preview Lab → · Contrast checker → · Palette generator →

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