#F2DD64#F2DD64

#F2DD64 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.142 H 99.5°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#F2DD64
RGBrgb(242, 221, 100)
HSLhsl(51, 85%, 67%)
HSVhsv(51, 59%, 95%)
CMYKcmyk(0%, 8.7%, 58.7%, 5.1%)
CIE-LABlab(87.73, -7.12, 60.70)
CIE-LCHlch(87.73, 61.12, 96.69°)
OKLaboklab(89.18% -0.0236 0.1401)
OKLCHoklch(89.18% 0.142 99.5)
XYZxyz(64.7771, 71.5129, 22.4454)
Luminance0.7151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD64 #6479F2
analogous
#F29664 #F2DD64 #C0F264
triadic
#F2DD64 #64F2DD #DD64F2
tetradic
#F2DD64 #64F296 #6479F2 #F264C0
square
#F2DD64 #64F296 #6479F2 #F264C0
split-complementary
#F2DD64 #64C0F2 #9664F2
monochromatic
#CBAF11 #EDD12C #F2DD64 #F7E99C #FBF6D5

Accessibility & contrast

On white

1.37
#F2DD64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#F2DD64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD64
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD64#FFFFFF#000000##000000
##F2DD641.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D757
Deuteranopia (green-blind)
#F6DF6A
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd64;
/* rgb */ color: rgb(242, 221, 100);
/* oklch */ color: oklch(89.2% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#f9e794',
    500: '#f2dd64',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd64;
$custom-light: #f9e794;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd64",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 100
  },
  "hsl": {
    "h": 51.127,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89183,
    "c": 0.14211,
    "h": 99.5
  },
  "luminance": 0.7151
}

Semantic roles & 50–950 ramp

primary
#F2DD64
secondary
#3349C7
accent
#25E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2DD64

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

Preview Lab → · Contrast checker → · Palette generator →

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