#F2DD73#F2DD73

#F2DD73 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.129 H 98.3°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F2DD73
RGBrgb(242, 221, 115)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 52%, 95%)
CMYKcmyk(0%, 8.7%, 52.5%, 5.1%)
CIE-LABlab(87.89, -5.99, 54.05)
CIE-LCHlch(87.89, 54.38, 96.32°)
OKLaboklab(89.35% -0.0187 0.1274)
OKLCHoklch(89.35% 0.129 98.3)
XYZxyz(65.5711, 71.8305, 26.6271)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD73 #7388F2
analogous
#F29E73 #F2DD73 #C7F273
triadic
#F2DD73 #73F2DD #DD73F2
tetradic
#F2DD73 #73F29E #7388F2 #F273C7
square
#F2DD73 #73F29E #7388F2 #F273C7
split-complementary
#F2DD73 #73C7F2 #9E73F2
monochromatic
#D7B614 #EDCF3B #F2DD73 #F7EBAB #FCF8E3

Accessibility & contrast

On white

1.37
#F2DD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#F2DD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD73
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD73#FFFFFF#000000##000000
##F2DD731.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD869
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd73;
/* rgb */ color: rgb(242, 221, 115);
/* oklch */ color: oklch(89.4% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#f9e79e',
    500: '#f2dd73',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd73;
$custom-light: #f9e79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd73",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 115
  },
  "hsl": {
    "h": 50.079,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.89354,
    "c": 0.12875,
    "h": 98.3
  },
  "luminance": 0.71828
}

Semantic roles & 50–950 ramp

primary
#F2DD73
secondary
#3D55CC
accent
#2ADF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD73

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

Preview Lab → · Contrast checker → · Palette generator →

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