#F2CF62#F2CF62

#F2CF62 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.4% C 0.133 H 91.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#F2CF62
RGBrgb(242, 207, 98)
HSLhsl(45, 85%, 67%)
HSVhsv(45, 60%, 95%)
CMYKcmyk(0%, 14.5%, 59.5%, 5.1%)
CIE-LABlab(84.17, -0.14, 57.59)
CIE-LCHlch(84.17, 57.59, 90.14°)
OKLaboklab(86.36% -0.0037 0.1332)
OKLCHoklch(86.36% 0.133 91.6)
XYZxyz(61.1381, 64.3879, 20.7607)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF62 #6285F2
analogous
#F28762 #F2CF62 #CDF262
triadic
#F2CF62 #62F2CF #CF62F2
tetradic
#F2CF62 #62F287 #6285F2 #F262CD
square
#F2CF62 #62F287 #6285F2 #F262CD
split-complementary
#F2CF62 #62CDF2 #8762F2
monochromatic
#C99C11 #EDBE29 #F2CF62 #F7E09B #FBF2D3

Accessibility & contrast

On white

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

On black

13.88
#F2CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF62
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF62#FFFFFF#000000##000000
##F2CF621.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf62;
/* rgb */ color: rgb(242, 207, 98);
/* oklch */ color: oklch(86.4% 0.133 91.6);
Tailwind
colors: {
  custom: {
    50: '#f9dd92',
    500: '#f2cf62',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf62;
$custom-light: #f9dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf62",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 45.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86356,
    "c": 0.13328,
    "h": 91.6
  },
  "luminance": 0.64385
}

Semantic roles & 50–950 ramp

primary
#F2CF62
secondary
#3356C6
accent
#3AE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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