#F2DC63#F2DC63

#F2DC63 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.142 H 99.1°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#F2DC63
RGBrgb(242, 220, 99)
HSLhsl(51, 85%, 67%)
HSVhsv(51, 59%, 95%)
CMYKcmyk(0%, 9.1%, 59.1%, 5.1%)
CIE-LABlab(87.47, -6.68, 60.85)
CIE-LCHlch(87.47, 61.22, 96.27°)
OKLaboklab(88.97% -0.0224 0.1403)
OKLCHoklch(88.97% 0.142 99.1)
XYZxyz(64.4658, 70.9672, 22.1043)
Luminance0.7096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC63 #6379F2
analogous
#F29563 #F2DC63 #C1F263
triadic
#F2DC63 #63F2DC #DC63F2
tetradic
#F2DC63 #63F295 #6379F2 #F263C1
square
#F2DC63 #63F295 #6379F2 #F263C1
split-complementary
#F2DC63 #63C1F2 #9563F2
monochromatic
#CAAD11 #EDCF2B #F2DC63 #F7E99B #FBF5D4

Accessibility & contrast

On white

1.38
#F2DC63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#F2DC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC63
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC63#FFFFFF#000000##000000
##F2DC631.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD756
Deuteranopia (green-blind)
#F5DF69
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc63;
/* rgb */ color: rgb(242, 220, 99);
/* oklch */ color: oklch(89.0% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#f9e693',
    500: '#f2dc63',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc63;
$custom-light: #f9e693;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc63",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 99
  },
  "hsl": {
    "h": 50.769,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8897,
    "c": 0.14211,
    "h": 99.1
  },
  "luminance": 0.70964
}

Semantic roles & 50–950 ramp

primary
#F2DC63
secondary
#334AC6
accent
#26E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DC63

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

Preview Lab → · Contrast checker → · Palette generator →

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