#F2DE73#F2DE73

#F2DE73 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.130 H 98.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F2DE73
RGBrgb(242, 222, 115)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 52%, 95%)
CMYKcmyk(0%, 8.3%, 52.5%, 5.1%)
CIE-LABlab(88.14, -6.49, 54.35)
CIE-LCHlch(88.14, 54.73, 96.81°)
OKLaboklab(89.56% -0.0201 0.1281)
OKLCHoklch(89.56% 0.13 98.9)
XYZxyz(65.8359, 72.3602, 26.7153)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE73 #7387F2
analogous
#F29E73 #F2DE73 #C7F273
triadic
#F2DE73 #73F2DE #DE73F2
tetradic
#F2DE73 #73F29E #7387F2 #F273C7
square
#F2DE73 #73F29E #7387F2 #F273C7
split-complementary
#F2DE73 #73C7F2 #9E73F2
monochromatic
#D7B814 #EDD13B #F2DE73 #F7EBAB #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DE73#FFFFFF#000000##000000
##F2DE731.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)
#F0D969
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de73;
/* rgb */ color: rgb(242, 222, 115);
/* oklch */ color: oklch(89.6% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#f9e89e',
    500: '#f2de73',
    950: '#000000',
  },
}
SCSS
$custom: #f2de73;
$custom-light: #f9e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de73",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 115
  },
  "hsl": {
    "h": 50.551,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.89556,
    "c": 0.12962,
    "h": 98.9
  },
  "luminance": 0.72358
}

Semantic roles & 50–950 ramp

primary
#F2DE73
secondary
#3D54CC
accent
#28DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE73

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

Preview Lab → · Contrast checker → · Palette generator →

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