#F2DE60#F2DE60

#F2DE60 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.3% C 0.146 H 100.3°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#F2DE60
RGBrgb(242, 222, 96)
HSLhsl(52, 85%, 66%)
HSVhsv(52, 60%, 95%)
CMYKcmyk(0%, 8.3%, 60.3%, 5.1%)
CIE-LABlab(87.95, -7.89, 62.70)
CIE-LCHlch(87.95, 63.19, 97.17°)
OKLaboklab(89.35% -0.0262 0.1439)
OKLCHoklch(89.35% 0.146 100.3)
XYZxyz(64.8531, 71.9670, 21.5390)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE60 #6074F2
analogous
#F29560 #F2DE60 #BDF260
triadic
#F2DE60 #60F2DE #DE60F2
tetradic
#F2DE60 #60F295 #6074F2 #F260BD
square
#F2DE60 #60F295 #6074F2 #F260BD
split-complementary
#F2DE60 #60BDF2 #9560F2
monochromatic
#C7AE10 #EDD227 #F2DE60 #F7EA99 #FBF5D1

Accessibility & contrast

On white

1.36
#F2DE60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#F2DE60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE60
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE60#FFFFFF#000000##000000
##F2DE601.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D852
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de60;
/* rgb */ color: rgb(242, 222, 96);
/* oklch */ color: oklch(89.3% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#f9e892',
    500: '#f2de60',
    950: '#000000',
  },
}
SCSS
$custom: #f2de60;
$custom-light: #f9e892;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de60",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 96
  },
  "hsl": {
    "h": 51.781,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89345,
    "c": 0.14625,
    "h": 100.3
  },
  "luminance": 0.71964
}

Semantic roles & 50–950 ramp

primary
#F2DE60
secondary
#3246C4
accent
#22E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DE60

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

Preview Lab → · Contrast checker → · Palette generator →

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