#F2CF56#F2CF56

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

Color values

HEX#F2CF56
RGBrgb(242, 207, 86)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 64%, 95%)
CMYKcmyk(0%, 14.5%, 64.5%, 5.1%)
CIE-LABlab(84.06, -0.91, 62.75)
CIE-LCHlch(84.06, 62.76, 90.83°)
OKLaboklab(86.24% -0.0074 0.1426)
OKLCHoklch(86.24% 0.143 93)
XYZxyz(60.6134, 64.1780, 17.9972)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF56 #5679F2
analogous
#F28156 #F2CF56 #C7F256
triadic
#F2CF56 #56F2CF #CF56F2
tetradic
#F2CF56 #56F281 #5679F2 #F256C7
square
#F2CF56 #56F281 #5679F2 #F256C7
split-complementary
#F2CF56 #56C7F2 #8156F2
monochromatic
#BF970F #EEBF1D #F2CF56 #F6DF8F #FBEFC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CF56#FFFFFF#000000##000000
##F2CF561.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)
#E4CC48
Deuteranopia (green-blind)
#ECD65C
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf56;
/* rgb */ color: rgb(242, 207, 86);
/* oklch */ color: oklch(86.2% 0.143 93.0);
Tailwind
colors: {
  custom: {
    50: '#fadd8b',
    500: '#f2cf56',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf56;
$custom-light: #fadd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf56",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 46.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86235,
    "c": 0.1428,
    "h": 93
  },
  "luminance": 0.64175
}

Semantic roles & 50–950 ramp

primary
#F2CF56
secondary
#2F4FBD
accent
#35E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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