#F2DE55#F2DE55

#F2DE55 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.2% C 0.155 H 101.0°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F2DE55
RGBrgb(242, 222, 85)
HSLhsl(52, 86%, 64%)
HSVhsv(52, 65%, 95%)
CMYKcmyk(0%, 8.3%, 64.9%, 5.1%)
CIE-LABlab(87.86, -8.57, 67.20)
CIE-LCHlch(87.86, 67.74, 97.26°)
OKLaboklab(89.24% -0.0294 0.1519)
OKLCHoklch(89.24% 0.155 101)
XYZxyz(64.3816, 71.7784, 19.0559)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE55 #5569F2
analogous
#F29055 #F2DE55 #B7F255
triadic
#F2DE55 #55F2DE #DE55F2
tetradic
#F2DE55 #55F290 #5569F2 #F255B7
square
#F2DE55 #55F290 #5569F2 #F255B7
split-complementary
#F2DE55 #55B7F2 #9055F2
monochromatic
#BEA80F #EED31C #F2DE55 #F6E98E #FBF4C7

Accessibility & contrast

On white

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

On black

15.36
#F2DE55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE55
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE55#FFFFFF#000000##000000
##F2DE551.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D844
Deuteranopia (green-blind)
#F7E05D
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2de55;
/* rgb */ color: rgb(242, 222, 85);
/* oklch */ color: oklch(89.2% 0.155 101.0);
Tailwind
colors: {
  custom: {
    50: '#fae78b',
    500: '#f2de55',
    950: '#000000',
  },
}
SCSS
$custom: #f2de55;
$custom-light: #fae78b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de55",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 85
  },
  "hsl": {
    "h": 52.357,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89244,
    "c": 0.1547,
    "h": 101
  },
  "luminance": 0.71776
}

Semantic roles & 50–950 ramp

primary
#F2DE55
secondary
#2F41BC
accent
#20E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2DE55

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

Preview Lab → · Contrast checker → · Palette generator →

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