#F2DB74#F2DB74

#F2DB74 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.126 H 97.0°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#F2DB74
RGBrgb(242, 219, 116)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 52%, 95%)
CMYKcmyk(0%, 9.5%, 52.1%, 5.1%)
CIE-LABlab(87.39, -4.89, 52.99)
CIE-LCHlch(87.39, 53.21, 95.28°)
OKLaboklab(88.96% -0.0154 0.1252)
OKLCHoklch(88.96% 0.126 97)
XYZxyz(65.1041, 70.8039, 26.7568)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB74 #748BF2
analogous
#F29C74 #F2DB74 #CAF274
triadic
#F2DB74 #74F2DB #DB74F2
tetradic
#F2DB74 #74F29C #748BF2 #F274CA
square
#F2DB74 #74F29C #748BF2 #F274CA
split-complementary
#F2DB74 #74CAF2 #9C74F2
monochromatic
#D7B414 #EDCD3C #F2DB74 #F7E9AC #FCF8E3

Accessibility & contrast

On white

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

On black

15.16
#F2DB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB74
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB74#FFFFFF#000000##000000
##F2DB741.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD66B
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db74;
/* rgb */ color: rgb(242, 219, 116);
/* oklch */ color: oklch(89.0% 0.126 97.0);
Tailwind
colors: {
  custom: {
    50: '#f9e59e',
    500: '#f2db74',
    950: '#000000',
  },
}
SCSS
$custom: #f2db74;
$custom-light: #f9e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db74",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 49.048,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88964,
    "c": 0.12611,
    "h": 97
  },
  "luminance": 0.70801
}

Semantic roles & 50–950 ramp

primary
#F2DB74
secondary
#3E58CC
accent
#2EDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DB74

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

Preview Lab → · Contrast checker → · Palette generator →

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