#F2DC64#F2DC64

#F2DC64 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.141 H 99.0°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#F2DC64
RGBrgb(242, 220, 100)
HSLhsl(51, 85%, 67%)
HSVhsv(51, 59%, 95%)
CMYKcmyk(0%, 9.1%, 58.7%, 5.1%)
CIE-LABlab(87.48, -6.61, 60.42)
CIE-LCHlch(87.48, 60.78, 96.25°)
OKLaboklab(88.98% -0.0221 0.1395)
OKLCHoklch(88.98% 0.141 99)
XYZxyz(64.5139, 70.9865, 22.3577)
Luminance0.7098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC64 #647AF2
analogous
#F29564 #F2DC64 #C1F264
triadic
#F2DC64 #64F2DC #DC64F2
tetradic
#F2DC64 #64F295 #647AF2 #F264C1
square
#F2DC64 #64F295 #647AF2 #F264C1
split-complementary
#F2DC64 #64C1F2 #9564F2
monochromatic
#CBAE11 #EDCF2C #F2DC64 #F7E99C #FBF6D5

Accessibility & contrast

On white

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

On black

15.20
#F2DC64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC64
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC64#FFFFFF#000000##000000
##F2DC641.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD757
Deuteranopia (green-blind)
#F5DF6A
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc64;
/* rgb */ color: rgb(242, 220, 100);
/* oklch */ color: oklch(89.0% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#f9e694',
    500: '#f2dc64',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc64;
$custom-light: #f9e694;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc64",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 100
  },
  "hsl": {
    "h": 50.704,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88981,
    "c": 0.14127,
    "h": 99
  },
  "luminance": 0.70984
}

Semantic roles & 50–950 ramp

primary
#F2DC64
secondary
#334AC7
accent
#27E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DC64

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

Preview Lab → · Contrast checker → · Palette generator →

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