#F2DA51#F2DA51

#F2DA51 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.4% C 0.154 H 99.2°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F2DA51
RGBrgb(242, 218, 81)
HSLhsl(51, 86%, 63%)
HSVhsv(51, 67%, 95%)
CMYKcmyk(0%, 9.9%, 66.5%, 5.1%)
CIE-LABlab(86.81, -6.78, 67.71)
CIE-LCHlch(86.81, 68.05, 95.72°)
OKLaboklab(88.4% -0.0247 0.1523)
OKLCHoklch(88.4% 0.154 99.2)
XYZxyz(63.1774, 69.6170, 17.8926)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA51 #5169F2
analogous
#F28951 #F2DA51 #B9F251
triadic
#F2DA51 #51F2DA #DA51F2
tetradic
#F2DA51 #51F289 #5169F2 #F251B9
square
#F2DA51 #51F289 #5169F2 #F251B9
split-complementary
#F2DA51 #51B9F2 #8951F2
monochromatic
#BBA10E #EECE18 #F2DA51 #F6E68A #FBF2C3

Accessibility & contrast

On white

1.41
#F2DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F2DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA51
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA51#FFFFFF#000000##000000
##F2DA511.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43F
Deuteranopia (green-blind)
#F5DD59
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2da51;
/* rgb */ color: rgb(242, 218, 81);
/* oklch */ color: oklch(88.4% 0.154 99.2);
Tailwind
colors: {
  custom: {
    50: '#fae589',
    500: '#f2da51',
    950: '#000000',
  },
}
SCSS
$custom: #f2da51;
$custom-light: #fae589;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da51",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 51.056,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88399,
    "c": 0.15433,
    "h": 99.2
  },
  "luminance": 0.69614
}

Semantic roles & 50–950 ramp

primary
#F2DA51
secondary
#2E43B9
accent
#24E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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