#F2D863#F2D863

#F2D863 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.139 H 96.9°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#F2D863
RGBrgb(242, 216, 99)
HSLhsl(49, 85%, 67%)
HSVhsv(49, 59%, 95%)
CMYKcmyk(0%, 10.7%, 59.1%, 5.1%)
CIE-LABlab(86.45, -4.66, 59.71)
CIE-LCHlch(86.45, 59.89, 94.46°)
OKLaboklab(88.16% -0.0166 0.1379)
OKLCHoklch(88.16% 0.139 96.9)
XYZxyz(63.4285, 68.8927, 21.7586)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D863 #637DF2
analogous
#F29163 #F2D863 #C5F263
triadic
#F2D863 #63F2D8 #D863F2
tetradic
#F2D863 #63F291 #637DF2 #F263C5
square
#F2D863 #63F291 #637DF2 #F263C5
split-complementary
#F2D863 #63C5F2 #9163F2
monochromatic
#CAA811 #EDCA2B #F2D863 #F7E69B #FBF4D4

Accessibility & contrast

On white

1.42
#F2D863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#F2D863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D863
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D863#FFFFFF#000000##000000
##F2D8631.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d863;
/* rgb */ color: rgb(242, 216, 99);
/* oklch */ color: oklch(88.2% 0.139 96.9);
Tailwind
colors: {
  custom: {
    50: '#f9e393',
    500: '#f2d863',
    950: '#000000',
  },
}
SCSS
$custom: #f2d863;
$custom-light: #f9e393;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d863",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 49.091,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88164,
    "c": 0.13889,
    "h": 96.9
  },
  "luminance": 0.6889
}

Semantic roles & 50–950 ramp

primary
#F2D863
secondary
#334EC6
accent
#2DE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D863

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

Preview Lab → · Contrast checker → · Palette generator →

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