#F2DA62#F2DA62

#F2DA62 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.141 H 98.1°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#F2DA62
RGBrgb(242, 218, 98)
HSLhsl(50, 85%, 67%)
HSVhsv(50, 60%, 95%)
CMYKcmyk(0%, 9.9%, 59.5%, 5.1%)
CIE-LABlab(86.95, -5.74, 60.71)
CIE-LCHlch(86.95, 60.98, 95.40°)
OKLaboklab(88.56% -0.0199 0.1399)
OKLCHoklch(88.56% 0.141 98.1)
XYZxyz(63.8965, 69.9047, 21.6802)
Luminance0.6990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA62 #627AF2
analogous
#F29262 #F2DA62 #C2F262
triadic
#F2DA62 #62F2DA #DA62F2
tetradic
#F2DA62 #62F292 #627AF2 #F262C2
square
#F2DA62 #62F292 #627AF2 #F262C2
split-complementary
#F2DA62 #62C2F2 #9262F2
monochromatic
#C9AA11 #EDCD29 #F2DA62 #F7E79B #FBF5D3

Accessibility & contrast

On white

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

On black

14.98
#F2DA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA62
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA62#FFFFFF#000000##000000
##F2DA621.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F4DD68
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da62;
/* rgb */ color: rgb(242, 218, 98);
/* oklch */ color: oklch(88.6% 0.141 98.1);
Tailwind
colors: {
  custom: {
    50: '#f9e593',
    500: '#f2da62',
    950: '#000000',
  },
}
SCSS
$custom: #f2da62;
$custom-light: #f9e593;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da62",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 98
  },
  "hsl": {
    "h": 50,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88556,
    "c": 0.14131,
    "h": 98.1
  },
  "luminance": 0.69902
}

Semantic roles & 50–950 ramp

primary
#F2DA62
secondary
#334BC6
accent
#29E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DA62

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

Preview Lab → · Contrast checker → · Palette generator →

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