#F2CF57#F2CF57

#F2CF57 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.142 H 92.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#F2CF57
RGBrgb(242, 207, 87)
HSLhsl(46, 86%, 65%)
HSVhsv(46, 64%, 95%)
CMYKcmyk(0%, 14.5%, 64%, 5.1%)
CIE-LABlab(84.07, -0.85, 62.34)
CIE-LCHlch(84.07, 62.34, 90.78°)
OKLaboklab(86.24% -0.0071 0.1419)
OKLCHoklch(86.24% 0.142 92.9)
XYZxyz(60.6540, 64.1943, 18.2109)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF57 #577AF2
analogous
#F28257 #F2CF57 #C7F257
triadic
#F2CF57 #57F2CF #CF57F2
tetradic
#F2CF57 #57F282 #577AF2 #F257C7
square
#F2CF57 #57F282 #577AF2 #F257C7
split-complementary
#F2CF57 #57C7F2 #8257F2
monochromatic
#C0980F #EEBF1E #F2CF57 #F6DF90 #FBEFC9

Accessibility & contrast

On white

1.52
#F2CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#F2CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF57
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF57#FFFFFF#000000##000000
##F2CF571.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf57;
/* rgb */ color: rgb(242, 207, 87);
/* oklch */ color: oklch(86.2% 0.142 92.9);
Tailwind
colors: {
  custom: {
    50: '#fadd8b',
    500: '#f2cf57',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf57;
$custom-light: #fadd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf57",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 46.452,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86244,
    "c": 0.14205,
    "h": 92.9
  },
  "luminance": 0.64191
}

Semantic roles & 50–950 ramp

primary
#F2CF57
secondary
#3050BE
accent
#36E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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