#F2CD56#F2CD56

#F2CD56 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.8% C 0.142 H 91.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#F2CD56
RGBrgb(242, 205, 86)
HSLhsl(46, 86%, 64%)
HSVhsv(46, 64%, 95%)
CMYKcmyk(0%, 15.3%, 64.5%, 5.1%)
CIE-LABlab(83.56, 0.11, 62.21)
CIE-LCHlch(83.56, 62.21, 89.89°)
OKLaboklab(85.84% -0.0044 0.1415)
OKLCHoklch(85.84% 0.142 91.8)
XYZxyz(60.1320, 63.2151, 17.8368)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CD56 #567BF2
analogous
#F27F56 #F2CD56 #C9F256
triadic
#F2CD56 #56F2CD #CD56F2
tetradic
#F2CD56 #56F27F #567BF2 #F256C9
square
#F2CD56 #56F27F #567BF2 #F256C9
split-complementary
#F2CD56 #56C9F2 #7F56F2
monochromatic
#BF950F #EEBC1D #F2CD56 #F6DE8F #FBEFC8

Accessibility & contrast

On white

1.54
#F2CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#F2CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CD56
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CD56#FFFFFF#000000##000000
##F2CD561.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cd56;
/* rgb */ color: rgb(242, 205, 86);
/* oklch */ color: oklch(85.8% 0.142 91.8);
Tailwind
colors: {
  custom: {
    50: '#fadb8b',
    500: '#f2cd56',
    950: '#000000',
  },
}
SCSS
$custom: #f2cd56;
$custom-light: #fadb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cd56",
  "rgb": {
    "r": 242,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 45.769,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85838,
    "c": 0.14153,
    "h": 91.8
  },
  "luminance": 0.63212
}

Semantic roles & 50–950 ramp

primary
#F2CD56
secondary
#2F51BD
accent
#38E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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