#F2DD74#F2DD74

#F2DD74 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.128 H 98.2°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#F2DD74
RGBrgb(242, 221, 116)
HSLhsl(50, 83%, 70%)
HSVhsv(50, 52%, 95%)
CMYKcmyk(0%, 8.7%, 52.1%, 5.1%)
CIE-LABlab(87.90, -5.90, 53.59)
CIE-LCHlch(87.90, 53.91, 96.29°)
OKLaboklab(89.37% -0.0183 0.1265)
OKLCHoklch(89.37% 0.128 98.2)
XYZxyz(65.6290, 71.8537, 26.9318)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD74 #7489F2
analogous
#F29E74 #F2DD74 #C8F274
triadic
#F2DD74 #74F2DD #DD74F2
tetradic
#F2DD74 #74F29E #7489F2 #F274C8
square
#F2DD74 #74F29E #7489F2 #F274C8
split-complementary
#F2DD74 #74C8F2 #9E74F2
monochromatic
#D7B714 #EDCF3C #F2DD74 #F7EBAC #FCF8E3

Accessibility & contrast

On white

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

On black

15.37
#F2DD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD74
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD74#FFFFFF#000000##000000
##F2DD741.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86A
Deuteranopia (green-blind)
#F4E079
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd74;
/* rgb */ color: rgb(242, 221, 116);
/* oklch */ color: oklch(89.4% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#f9e79e',
    500: '#f2dd74',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd74;
$custom-light: #f9e79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd74",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 116
  },
  "hsl": {
    "h": 50,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89366,
    "c": 0.12781,
    "h": 98.2
  },
  "luminance": 0.71851
}

Semantic roles & 50–950 ramp

primary
#F2DD74
secondary
#3E56CC
accent
#2ADF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DD74

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

Preview Lab → · Contrast checker → · Palette generator →

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