#F2DE68#F2DE68

#F2DE68 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.140 H 99.8°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F2DE68
RGBrgb(242, 222, 104)
HSLhsl(51, 84%, 68%)
HSVhsv(51, 57%, 95%)
CMYKcmyk(0%, 8.3%, 57%, 5.1%)
CIE-LABlab(88.03, -7.34, 59.26)
CIE-LCHlch(88.03, 59.71, 97.06°)
OKLaboklab(89.43% -0.0237 0.1375)
OKLCHoklch(89.43% 0.14 99.8)
XYZxyz(65.2403, 72.1219, 23.5784)
Luminance0.7212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE68 #687CF2
analogous
#F29968 #F2DE68 #C1F268
triadic
#F2DE68 #68F2DE #DE68F2
tetradic
#F2DE68 #68F299 #687CF2 #F268C1
square
#F2DE68 #68F299 #687CF2 #F268C1
split-complementary
#F2DE68 #68C1F2 #9968F2
monochromatic
#CEB312 #EDD230 #F2DE68 #F7EAA0 #FCF7D9

Accessibility & contrast

On white

1.36
#F2DE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#F2DE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE68
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE68#FFFFFF#000000##000000
##F2DE681.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D85C
Deuteranopia (green-blind)
#F6E06E
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de68;
/* rgb */ color: rgb(242, 222, 104);
/* oklch */ color: oklch(89.4% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#f9e897',
    500: '#f2de68',
    950: '#000000',
  },
}
SCSS
$custom: #f2de68;
$custom-light: #f9e897;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de68",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 104
  },
  "hsl": {
    "h": 51.304,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89428,
    "c": 0.13955,
    "h": 99.8
  },
  "luminance": 0.72119
}

Semantic roles & 50–950 ramp

primary
#F2DE68
secondary
#344ACA
accent
#25E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE68

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

Preview Lab → · Contrast checker → · Palette generator →

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