#F2DE62#F2DE62

#F2DE62 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.145 H 100.2°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#F2DE62
RGBrgb(242, 222, 98)
HSLhsl(52, 85%, 67%)
HSVhsv(52, 60%, 95%)
CMYKcmyk(0%, 8.3%, 59.5%, 5.1%)
CIE-LABlab(87.97, -7.75, 61.85)
CIE-LCHlch(87.97, 62.33, 97.15°)
OKLaboklab(89.37% -0.0256 0.1423)
OKLCHoklch(89.37% 0.145 100.2)
XYZxyz(64.9463, 72.0043, 22.0301)
Luminance0.7200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE62 #6276F2
analogous
#F29662 #F2DE62 #BEF262
triadic
#F2DE62 #62F2DE #DE62F2
tetradic
#F2DE62 #62F296 #6276F2 #F262BE
square
#F2DE62 #62F296 #6276F2 #F262BE
split-complementary
#F2DE62 #62BEF2 #9662F2
monochromatic
#C9AF11 #EDD229 #F2DE62 #F7EA9B #FBF6D3

Accessibility & contrast

On white

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

On black

15.40
#F2DE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE62
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE62#FFFFFF#000000##000000
##F2DE621.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2de62;
/* rgb */ color: rgb(242, 222, 98);
/* oklch */ color: oklch(89.4% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#f9e893',
    500: '#f2de62',
    950: '#000000',
  },
}
SCSS
$custom: #f2de62;
$custom-light: #f9e893;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de62",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 98
  },
  "hsl": {
    "h": 51.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89365,
    "c": 0.14462,
    "h": 100.2
  },
  "luminance": 0.72002
}

Semantic roles & 50–950 ramp

primary
#F2DE62
secondary
#3347C6
accent
#23E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DE62

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

Preview Lab → · Contrast checker → · Palette generator →

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