#F2DB71#F2DB71

#F2DB71 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.129 H 97.3°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F2DB71
RGBrgb(242, 219, 113)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 53%, 95%)
CMYKcmyk(0%, 9.5%, 53.3%, 5.1%)
CIE-LABlab(87.36, -5.14, 54.36)
CIE-LCHlch(87.36, 54.60, 95.40°)
OKLaboklab(88.93% -0.0164 0.1279)
OKLCHoklch(88.93% 0.129 97.3)
XYZxyz(64.9324, 70.7352, 25.8526)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB71 #7188F2
analogous
#F29A71 #F2DB71 #C9F271
triadic
#F2DB71 #71F2DB #DB71F2
tetradic
#F2DB71 #71F29A #7188F2 #F271C9
square
#F2DB71 #71F29A #7188F2 #F271C9
split-complementary
#F2DB71 #71C9F2 #9A71F2
monochromatic
#D5B314 #EDCD39 #F2DB71 #F7E9A9 #FCF7E1

Accessibility & contrast

On white

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

On black

15.15
#F2DB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB71
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB71#FFFFFF#000000##000000
##F2DB711.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2db71;
/* rgb */ color: rgb(242, 219, 113);
/* oklch */ color: oklch(88.9% 0.129 97.3);
Tailwind
colors: {
  custom: {
    50: '#f9e59c',
    500: '#f2db71',
    950: '#000000',
  },
}
SCSS
$custom: #f2db71;
$custom-light: #f9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db71",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 113
  },
  "hsl": {
    "h": 49.302,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88927,
    "c": 0.12893,
    "h": 97.3
  },
  "luminance": 0.70733
}

Semantic roles & 50–950 ramp

primary
#F2DB71
secondary
#3C55CB
accent
#2DE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB71

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

Preview Lab → · Contrast checker → · Palette generator →

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