#F2DE67#F2DE67

#F2DE67 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.140 H 99.9°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F2DE67
RGBrgb(242, 222, 103)
HSLhsl(51, 84%, 68%)
HSVhsv(51, 57%, 95%)
CMYKcmyk(0%, 8.3%, 57.4%, 5.1%)
CIE-LABlab(88.02, -7.41, 59.69)
CIE-LCHlch(88.02, 60.15, 97.07°)
OKLaboklab(89.42% -0.0241 0.1383)
OKLCHoklch(89.42% 0.14 99.9)
XYZxyz(65.1898, 72.1017, 23.3125)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE67 #677BF2
analogous
#F29967 #F2DE67 #C0F267
triadic
#F2DE67 #67F2DE #DE67F2
tetradic
#F2DE67 #67F299 #677BF2 #F267C0
square
#F2DE67 #67F299 #677BF2 #F267C0
split-complementary
#F2DE67 #67C0F2 #9967F2
monochromatic
#CDB212 #EDD22F #F2DE67 #F7EA9F #FCF6D8

Accessibility & contrast

On white

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

On black

15.42
#F2DE67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE67
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE67#FFFFFF#000000##000000
##F2DE671.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D85B
Deuteranopia (green-blind)
#F6E06D
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de67;
/* rgb */ color: rgb(242, 222, 103);
/* oklch */ color: oklch(89.4% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#f9e896',
    500: '#f2de67',
    950: '#000000',
  },
}
SCSS
$custom: #f2de67;
$custom-light: #f9e896;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de67",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 103
  },
  "hsl": {
    "h": 51.367,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89417,
    "c": 0.14041,
    "h": 99.9
  },
  "luminance": 0.72099
}

Semantic roles & 50–950 ramp

primary
#F2DE67
secondary
#3449C9
accent
#24E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE67

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

Preview Lab → · Contrast checker → · Palette generator →

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