#F2DE64#F2DE64

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

Color values

HEX#F2DE64
RGBrgb(242, 222, 100)
HSLhsl(52, 85%, 67%)
HSVhsv(52, 59%, 95%)
CMYKcmyk(0%, 8.3%, 58.7%, 5.1%)
CIE-LABlab(87.99, -7.62, 60.99)
CIE-LCHlch(87.99, 61.46, 97.12°)
OKLaboklab(89.39% -0.025 0.1407)
OKLCHoklch(89.39% 0.143 100.1)
XYZxyz(65.0419, 72.0426, 22.5337)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE64 #6478F2
analogous
#F29764 #F2DE64 #BFF264
triadic
#F2DE64 #64F2DE #DE64F2
tetradic
#F2DE64 #64F297 #6478F2 #F264BF
square
#F2DE64 #64F297 #6478F2 #F264BF
split-complementary
#F2DE64 #64BFF2 #9764F2
monochromatic
#CBB011 #EDD22C #F2DE64 #F7EA9C #FBF6D5

Accessibility & contrast

On white

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

On black

15.41
#F2DE64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE64
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE64#FFFFFF#000000##000000
##F2DE641.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2de64;
/* rgb */ color: rgb(242, 222, 100);
/* oklch */ color: oklch(89.4% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#f9e894',
    500: '#f2de64',
    950: '#000000',
  },
}
SCSS
$custom: #f2de64;
$custom-light: #f9e894;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de64",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 100
  },
  "hsl": {
    "h": 51.549,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89386,
    "c": 0.14295,
    "h": 100.1
  },
  "luminance": 0.7204
}

Semantic roles & 50–950 ramp

primary
#F2DE64
secondary
#3348C7
accent
#24E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DE64

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

Preview Lab → · Contrast checker → · Palette generator →

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