#F2DC60#F2DC60

#F2DC60 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.145 H 99.3°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F2DC60
RGBrgb(242, 220, 96)
HSLhsl(51, 85%, 66%)
HSVhsv(51, 60%, 95%)
CMYKcmyk(0%, 9.1%, 60.3%, 5.1%)
CIE-LABlab(87.44, -6.88, 62.13)
CIE-LCHlch(87.44, 62.51, 96.32°)
OKLaboklab(88.94% -0.0234 0.1427)
OKLCHoklch(88.94% 0.145 99.3)
XYZxyz(64.3250, 70.9109, 21.3630)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC60 #6076F2
analogous
#F29360 #F2DC60 #BFF260
triadic
#F2DC60 #60F2DC #DC60F2
tetradic
#F2DC60 #60F293 #6076F2 #F260BF
square
#F2DC60 #60F293 #6076F2 #F260BF
split-complementary
#F2DC60 #60BFF2 #9360F2
monochromatic
#C7AC10 #EDD027 #F2DC60 #F7E899 #FBF5D1

Accessibility & contrast

On white

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

On black

15.18
#F2DC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC60
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC60#FFFFFF#000000##000000
##F2DC601.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD752
Deuteranopia (green-blind)
#F5DF66
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc60;
/* rgb */ color: rgb(242, 220, 96);
/* oklch */ color: oklch(88.9% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#f9e692',
    500: '#f2dc60',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc60;
$custom-light: #f9e692;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc60",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 96
  },
  "hsl": {
    "h": 50.959,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8894,
    "c": 0.14458,
    "h": 99.3
  },
  "luminance": 0.70908
}

Semantic roles & 50–950 ramp

primary
#F2DC60
secondary
#3248C4
accent
#25E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DC60

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

Preview Lab → · Contrast checker → · Palette generator →

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