#F2DE6C#F2DE6C

#F2DE6C is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.5% C 0.136 H 99.5°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F2DE6C
RGBrgb(242, 222, 108)
HSLhsl(51, 84%, 69%)
HSVhsv(51, 55%, 95%)
CMYKcmyk(0%, 8.3%, 55.4%, 5.1%)
CIE-LABlab(88.07, -7.04, 57.49)
CIE-LCHlch(88.07, 57.92, 96.98°)
OKLaboklab(89.47% -0.0225 0.1342)
OKLCHoklch(89.47% 0.136 99.5)
XYZxyz(65.4483, 72.2051, 24.6739)
Luminance0.7220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE6C #6C80F2
analogous
#F29B6C #F2DE6C #C3F26C
triadic
#F2DE6C #6CF2DE #DE6CF2
tetradic
#F2DE6C #6CF29B #6C80F2 #F26CC3
square
#F2DE6C #6CF29B #6C80F2 #F26CC3
split-complementary
#F2DE6C #6CC3F2 #9B6CF2
monochromatic
#D1B512 #EDD134 #F2DE6C #F7EBA4 #FCF7DC

Accessibility & contrast

On white

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

On black

15.44
#F2DE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE6C
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE6C#FFFFFF#000000##000000
##F2DE6C1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2de6c;
/* rgb */ color: rgb(242, 222, 108);
/* oklch */ color: oklch(89.5% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#f9e899',
    500: '#f2de6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2de6c;
$custom-light: #f9e899;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de6c",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 108
  },
  "hsl": {
    "h": 51.045,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89473,
    "c": 0.13604,
    "h": 99.5
  },
  "luminance": 0.72203
}

Semantic roles & 50–950 ramp

primary
#F2DE6C
secondary
#374DCB
accent
#26E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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