#F2DD53#F2DD53

#F2DD53 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.155 H 100.6°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F2DD53
RGBrgb(242, 221, 83)
HSLhsl(52, 86%, 64%)
HSVhsv(52, 66%, 95%)
CMYKcmyk(0%, 8.7%, 65.7%, 5.1%)
CIE-LABlab(87.59, -8.18, 67.72)
CIE-LCHlch(87.59, 68.21, 96.89°)
OKLaboklab(89.02% -0.0285 0.1527)
OKLCHoklch(89.02% 0.155 100.6)
XYZxyz(64.0385, 71.2175, 18.5551)
Luminance0.7121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD53 #5368F2
analogous
#F28D53 #F2DD53 #B8F253
triadic
#F2DD53 #53F2DD #DD53F2
tetradic
#F2DD53 #53F28D #5368F2 #F253B8
square
#F2DD53 #53F28D #5368F2 #F253B8
split-complementary
#F2DD53 #53B8F2 #8D53F2
monochromatic
#BCA50E #EED21A #F2DD53 #F6E88C #FBF3C5

Accessibility & contrast

On white

1.38
#F2DD53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#F2DD53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD53
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD53#FFFFFF#000000##000000
##F2DD531.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D741
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd53;
/* rgb */ color: rgb(242, 221, 83);
/* oklch */ color: oklch(89.0% 0.155 100.6);
Tailwind
colors: {
  custom: {
    50: '#fae78a',
    500: '#f2dd53',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd53;
$custom-light: #fae78a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd53",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 83
  },
  "hsl": {
    "h": 52.075,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89024,
    "c": 0.15531,
    "h": 100.6
  },
  "luminance": 0.71215
}

Semantic roles & 50–950 ramp

primary
#F2DD53
secondary
#2E41BB
accent
#21E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2DD53

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

Preview Lab → · Contrast checker → · Palette generator →

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