#F2DF73#F2DF73

#F2DF73 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.131 H 99.5°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F2DF73
RGBrgb(242, 223, 115)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 52%, 95%)
CMYKcmyk(0%, 7.9%, 52.5%, 5.1%)
CIE-LABlab(88.40, -6.99, 54.65)
CIE-LCHlch(88.40, 55.09, 97.29°)
OKLaboklab(89.76% -0.0216 0.1287)
OKLCHoklch(89.76% 0.131 99.5)
XYZxyz(66.1023, 72.8929, 26.8041)
Luminance0.7289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF73 #7386F2
analogous
#F2A073 #F2DF73 #C5F273
triadic
#F2DF73 #73F2DF #DF73F2
tetradic
#F2DF73 #73F2A0 #7386F2 #F273C5
square
#F2DF73 #73F2A0 #7386F2 #F273C5
split-complementary
#F2DF73 #73C5F2 #A073F2
monochromatic
#D7BA14 #EDD23B #F2DF73 #F7ECAB #FCF9E3

Accessibility & contrast

On white

1.35
#F2DF73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#F2DF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF73
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF73#FFFFFF#000000##000000
##F2DF731.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df73;
/* rgb */ color: rgb(242, 223, 115);
/* oklch */ color: oklch(89.8% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#f9e89e',
    500: '#f2df73',
    950: '#000000',
  },
}
SCSS
$custom: #f2df73;
$custom-light: #f9e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df73",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 51.024,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.89758,
    "c": 0.1305,
    "h": 99.5
  },
  "luminance": 0.7289
}

Semantic roles & 50–950 ramp

primary
#F2DF73
secondary
#3D53CC
accent
#27DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DF73

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

Preview Lab → · Contrast checker → · Palette generator →

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