#F2DD68#F2DD68

#F2DD68 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.139 H 99.3°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F2DD68
RGBrgb(242, 221, 104)
HSLhsl(51, 84%, 68%)
HSVhsv(51, 57%, 95%)
CMYKcmyk(0%, 8.7%, 57%, 5.1%)
CIE-LABlab(87.77, -6.83, 58.97)
CIE-LCHlch(87.77, 59.36, 96.61°)
OKLaboklab(89.23% -0.0223 0.1369)
OKLCHoklch(89.23% 0.139 99.3)
XYZxyz(64.9755, 71.5923, 23.4902)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD68 #687DF2
analogous
#F29868 #F2DD68 #C2F268
triadic
#F2DD68 #68F2DD #DD68F2
tetradic
#F2DD68 #68F298 #687DF2 #F268C2
square
#F2DD68 #68F298 #687DF2 #F268C2
split-complementary
#F2DD68 #68C2F2 #9868F2
monochromatic
#CEB112 #EDD030 #F2DD68 #F7EAA0 #FCF6D9

Accessibility & contrast

On white

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

On black

15.32
#F2DD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD68
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD68#FFFFFF#000000##000000
##F2DD681.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2dd68;
/* rgb */ color: rgb(242, 221, 104);
/* oklch */ color: oklch(89.2% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#f9e797',
    500: '#f2dd68',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd68;
$custom-light: #f9e797;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd68",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 104
  },
  "hsl": {
    "h": 50.87,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89226,
    "c": 0.1387,
    "h": 99.3
  },
  "luminance": 0.7159
}

Semantic roles & 50–950 ramp

primary
#F2DD68
secondary
#344BCA
accent
#26E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD68

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

Preview Lab → · Contrast checker → · Palette generator →

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