#F2CF66#F2CF66

#F2CF66 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.4% C 0.130 H 91.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#F2CF66
RGBrgb(242, 207, 102)
HSLhsl(45, 84%, 67%)
HSVhsv(45, 58%, 95%)
CMYKcmyk(0%, 14.5%, 57.9%, 5.1%)
CIE-LABlab(84.21, 0.14, 55.80)
CIE-LCHlch(84.21, 55.80, 89.86°)
OKLaboklab(86.4% -0.0024 0.1299)
OKLCHoklch(86.4% 0.13 91.1)
XYZxyz(61.3317, 64.4654, 21.7803)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF66 #6689F2
analogous
#F28966 #F2CF66 #CFF266
triadic
#F2CF66 #66F2CF #CF66F2
tetradic
#F2CF66 #66F289 #6689F2 #F266CF
square
#F2CF66 #66F289 #6689F2 #F266CF
split-complementary
#F2CF66 #66CFF2 #8966F2
monochromatic
#CC9E11 #EDBD2E #F2CF66 #F7E19E #FCF2D7

Accessibility & contrast

On white

1.51
#F2CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#F2CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF66
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF66#FFFFFF#000000##000000
##F2CF661.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf66;
/* rgb */ color: rgb(242, 207, 102);
/* oklch */ color: oklch(86.4% 0.130 91.1);
Tailwind
colors: {
  custom: {
    50: '#f9dd95',
    500: '#f2cf66',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf66;
$custom-light: #f9dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf66",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 45,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.864,
    "c": 0.12988,
    "h": 91.1
  },
  "luminance": 0.64462
}

Semantic roles & 50–950 ramp

primary
#F2CF66
secondary
#3459C9
accent
#3CE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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