#F2CF55#F2CF55

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

Color values

HEX#F2CF55
RGBrgb(242, 207, 85)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 65%, 95%)
CMYKcmyk(0%, 14.5%, 64.9%, 5.1%)
CIE-LABlab(84.05, -0.97, 63.17)
CIE-LCHlch(84.05, 63.18, 90.88°)
OKLaboklab(86.23% -0.0076 0.1433)
OKLCHoklch(86.23% 0.144 93.1)
XYZxyz(60.5734, 64.1620, 17.7865)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF55 #5578F2
analogous
#F28155 #F2CF55 #C7F255
triadic
#F2CF55 #55F2CF #CF55F2
tetradic
#F2CF55 #55F281 #5578F2 #F255C7
square
#F2CF55 #55F281 #5578F2 #F255C7
split-complementary
#F2CF55 #55C7F2 #8155F2
monochromatic
#BE970F #EEBF1C #F2CF55 #F6DF8E #FBEFC7

Accessibility & contrast

On white

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

On black

13.83
#F2CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF55
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF55#FFFFFF#000000##000000
##F2CF551.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf55;
/* rgb */ color: rgb(242, 207, 85);
/* oklch */ color: oklch(86.2% 0.144 93.1);
Tailwind
colors: {
  custom: {
    50: '#fadd8a',
    500: '#f2cf55',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf55;
$custom-light: #fadd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf55",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 46.624,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86226,
    "c": 0.14354,
    "h": 93.1
  },
  "luminance": 0.64159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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