#F2DE74#F2DE74

#F2DE74 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.129 H 98.8°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F2DE74
RGBrgb(242, 222, 116)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 52%, 95%)
CMYKcmyk(0%, 8.3%, 52.1%, 5.1%)
CIE-LABlab(88.15, -6.41, 53.89)
CIE-LCHlch(88.15, 54.27, 96.78°)
OKLaboklab(89.57% -0.0198 0.1272)
OKLCHoklch(89.57% 0.129 98.8)
XYZxyz(65.8938, 72.3833, 27.0200)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE74 #7488F2
analogous
#F29F74 #F2DE74 #C7F274
triadic
#F2DE74 #74F2DE #DE74F2
tetradic
#F2DE74 #74F29F #7488F2 #F274C7
square
#F2DE74 #74F29F #7488F2 #F274C7
split-complementary
#F2DE74 #74C7F2 #9F74F2
monochromatic
#D7B814 #EDD13C #F2DE74 #F7EBAC #FCF8E3

Accessibility & contrast

On white

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

On black

15.48
#F2DE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE74
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE74#FFFFFF#000000##000000
##F2DE741.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96A
Deuteranopia (green-blind)
#F5E079
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de74;
/* rgb */ color: rgb(242, 222, 116);
/* oklch */ color: oklch(89.6% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#f9e89e',
    500: '#f2de74',
    950: '#000000',
  },
}
SCSS
$custom: #f2de74;
$custom-light: #f9e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de74",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 116
  },
  "hsl": {
    "h": 50.476,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89568,
    "c": 0.12868,
    "h": 98.8
  },
  "luminance": 0.72381
}

Semantic roles & 50–950 ramp

primary
#F2DE74
secondary
#3E55CC
accent
#29DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE74

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

Preview Lab → · Contrast checker → · Palette generator →

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