#F2DE72#F2DE72

#F2DE72 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.131 H 99.0°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F2DE72
RGBrgb(242, 222, 114)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 53%, 95%)
CMYKcmyk(0%, 8.3%, 52.9%, 5.1%)
CIE-LABlab(88.13, -6.57, 54.80)
CIE-LCHlch(88.13, 55.19, 96.84°)
OKLaboklab(89.54% -0.0204 0.1289)
OKLCHoklch(89.54% 0.131 99)
XYZxyz(65.7787, 72.3373, 26.4139)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE72 #7286F2
analogous
#F29E72 #F2DE72 #C6F272
triadic
#F2DE72 #72F2DE #DE72F2
tetradic
#F2DE72 #72F29E #7286F2 #F272C6
square
#F2DE72 #72F29E #7286F2 #F272C6
split-complementary
#F2DE72 #72C6F2 #9E72F2
monochromatic
#D6B814 #EDD13A #F2DE72 #F7EBAA #FCF8E2

Accessibility & contrast

On white

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

On black

15.47
#F2DE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE72
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE72#FFFFFF#000000##000000
##F2DE721.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de72;
/* rgb */ color: rgb(242, 222, 114);
/* oklch */ color: oklch(89.5% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#f9e89d',
    500: '#f2de72',
    950: '#000000',
  },
}
SCSS
$custom: #f2de72;
$custom-light: #f9e89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de72",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 114
  },
  "hsl": {
    "h": 50.625,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89543,
    "c": 0.13055,
    "h": 99
  },
  "luminance": 0.72335
}

Semantic roles & 50–950 ramp

primary
#F2DE72
secondary
#3D53CC
accent
#28E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE72

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

Preview Lab → · Contrast checker → · Palette generator →

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