#F2DC53#F2DC53

#F2DC53 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.154 H 100.1°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F2DC53
RGBrgb(242, 220, 83)
HSLhsl(52, 86%, 64%)
HSVhsv(52, 66%, 95%)
CMYKcmyk(0%, 9.1%, 65.7%, 5.1%)
CIE-LABlab(87.33, -7.68, 67.46)
CIE-LCHlch(87.33, 67.89, 96.49°)
OKLaboklab(88.82% -0.0271 0.1521)
OKLCHoklch(88.82% 0.155 100.1)
XYZxyz(63.7752, 70.6910, 18.4674)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC53 #5369F2
analogous
#F28C53 #F2DC53 #B8F253
triadic
#F2DC53 #53F2DC #DC53F2
tetradic
#F2DC53 #53F28C #5369F2 #F253B8
square
#F2DC53 #53F28C #5369F2 #F253B8
split-complementary
#F2DC53 #53B8F2 #8C53F2
monochromatic
#BCA40E #EED01A #F2DC53 #F6E88C #FBF3C5

Accessibility & contrast

On white

1.39
#F2DC53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#F2DC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC53
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC53#FFFFFF#000000##000000
##F2DC531.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D641
Deuteranopia (green-blind)
#F6DE5B
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc53;
/* rgb */ color: rgb(242, 220, 83);
/* oklch */ color: oklch(88.8% 0.154 100.1);
Tailwind
colors: {
  custom: {
    50: '#fae68a',
    500: '#f2dc53',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc53;
$custom-light: #fae68a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc53",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 83
  },
  "hsl": {
    "h": 51.698,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88821,
    "c": 0.1545,
    "h": 100.1
  },
  "luminance": 0.70688
}

Semantic roles & 50–950 ramp

primary
#F2DC53
secondary
#2E42BB
accent
#22E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2DC53

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

Preview Lab → · Contrast checker → · Palette generator →

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