#F2DA74#F2DA74

#F2DA74 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.125 H 96.4°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F2DA74
RGBrgb(242, 218, 116)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 52%, 95%)
CMYKcmyk(0%, 9.9%, 52.1%, 5.1%)
CIE-LABlab(87.14, -4.39, 52.68)
CIE-LCHlch(87.14, 52.87, 94.76°)
OKLaboklab(88.76% -0.0139 0.1245)
OKLCHoklch(88.76% 0.125 96.4)
XYZxyz(64.8440, 70.2837, 26.6701)
Luminance0.7028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA74 #748CF2
analogous
#F29B74 #F2DA74 #CBF274
triadic
#F2DA74 #74F2DA #DA74F2
tetradic
#F2DA74 #74F29B #748CF2 #F274CB
square
#F2DA74 #74F29B #748CF2 #F274CB
split-complementary
#F2DA74 #74CBF2 #9B74F2
monochromatic
#D7B214 #EDCB3C #F2DA74 #F7E9AC #FCF8E3

Accessibility & contrast

On white

1.39
#F2DA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#F2DA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA74
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA74#FFFFFF#000000##000000
##F2DA741.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#F2DE78
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da74;
/* rgb */ color: rgb(242, 218, 116);
/* oklch */ color: oklch(88.8% 0.125 96.4);
Tailwind
colors: {
  custom: {
    50: '#f9e59e',
    500: '#f2da74',
    950: '#000000',
  },
}
SCSS
$custom: #f2da74;
$custom-light: #f9e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da74",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 116
  },
  "hsl": {
    "h": 48.571,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88763,
    "c": 0.12529,
    "h": 96.4
  },
  "luminance": 0.70281
}

Semantic roles & 50–950 ramp

primary
#F2DA74
secondary
#3E59CC
accent
#30DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA74

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

Preview Lab → · Contrast checker → · Palette generator →

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