#F2DA58#F2DA58

#F2DA58 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.5% C 0.149 H 98.8°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F2DA58
RGBrgb(242, 218, 88)
HSLhsl(51, 86%, 65%)
HSVhsv(51, 64%, 95%)
CMYKcmyk(0%, 9.9%, 63.6%, 5.1%)
CIE-LABlab(86.86, -6.38, 64.91)
CIE-LCHlch(86.86, 65.22, 95.61°)
OKLaboklab(88.46% -0.0228 0.1475)
OKLCHoklch(88.46% 0.149 98.8)
XYZxyz(63.4535, 69.7275, 19.3470)
Luminance0.6973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA58 #5870F2
analogous
#F28D58 #F2DA58 #BDF258
triadic
#F2DA58 #58F2DA #DA58F2
tetradic
#F2DA58 #58F28D #5870F2 #F258BD
square
#F2DA58 #58F28D #5870F2 #F258BD
split-complementary
#F2DA58 #58BDF2 #8D58F2
monochromatic
#C1A50F #EECD1F #F2DA58 #F6E791 #FBF3CA

Accessibility & contrast

On white

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

On black

14.95
#F2DA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA58
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA58#FFFFFF#000000##000000
##F2DA581.001.4114.9514.95
#FFFFFF1.411.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED548
Deuteranopia (green-blind)
#F4DD5F
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2da58;
/* rgb */ color: rgb(242, 218, 88);
/* oklch */ color: oklch(88.5% 0.149 98.8);
Tailwind
colors: {
  custom: {
    50: '#fae58d',
    500: '#f2da58',
    950: '#000000',
  },
}
SCSS
$custom: #f2da58;
$custom-light: #fae58d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da58",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 88
  },
  "hsl": {
    "h": 50.649,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88459,
    "c": 0.14924,
    "h": 98.8
  },
  "luminance": 0.69725
}

Semantic roles & 50–950 ramp

primary
#F2DA58
secondary
#3046BE
accent
#26E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2DA58

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

Preview Lab → · Contrast checker → · Palette generator →

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