#F2DA71#F2DA71

#F2DA71 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.128 H 96.7°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F2DA71
RGBrgb(242, 218, 113)
HSLhsl(49, 83%, 70%)
HSVhsv(49, 53%, 95%)
CMYKcmyk(0%, 9.9%, 53.3%, 5.1%)
CIE-LABlab(87.10, -4.63, 54.06)
CIE-LCHlch(87.10, 54.25, 94.90°)
OKLaboklab(88.73% -0.015 0.1272)
OKLCHoklch(88.73% 0.128 96.7)
XYZxyz(64.6723, 70.2150, 25.7659)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA71 #7189F2
analogous
#F29A71 #F2DA71 #CAF271
triadic
#F2DA71 #71F2DA #DA71F2
tetradic
#F2DA71 #71F29A #7189F2 #F271CA
square
#F2DA71 #71F29A #7189F2 #F271CA
split-complementary
#F2DA71 #71CAF2 #9A71F2
monochromatic
#D5B114 #EDCB39 #F2DA71 #F7E9A9 #FCF7E1

Accessibility & contrast

On white

1.40
#F2DA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F2DA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA71
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA71#FFFFFF#000000##000000
##F2DA711.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2da71;
/* rgb */ color: rgb(242, 218, 113);
/* oklch */ color: oklch(88.7% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#f9e59c',
    500: '#f2da71',
    950: '#000000',
  },
}
SCSS
$custom: #f2da71;
$custom-light: #f9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da71",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 48.837,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88726,
    "c": 0.12811,
    "h": 96.7
  },
  "luminance": 0.70212
}

Semantic roles & 50–950 ramp

primary
#F2DA71
secondary
#3C56CB
accent
#2EE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DA71

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

Preview Lab → · Contrast checker → · Palette generator →

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