#F2CF60#F2CF60

#F2CF60 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.3% C 0.135 H 91.8°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#F2CF60
RGBrgb(242, 207, 96)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 60%, 95%)
CMYKcmyk(0%, 14.5%, 60.3%, 5.1%)
CIE-LABlab(84.15, -0.28, 58.47)
CIE-LCHlch(84.15, 58.47, 90.27°)
OKLaboklab(86.33% -0.0043 0.1349)
OKLCHoklch(86.33% 0.135 91.8)
XYZxyz(61.0449, 64.3506, 20.2696)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF60 #6083F2
analogous
#F28660 #F2CF60 #CCF260
triadic
#F2CF60 #60F2CF #CF60F2
tetradic
#F2CF60 #60F286 #6083F2 #F260CC
square
#F2CF60 #60F286 #6083F2 #F260CC
split-complementary
#F2CF60 #60CCF2 #8660F2
monochromatic
#C79B10 #EDBE27 #F2CF60 #F7E099 #FBF1D1

Accessibility & contrast

On white

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

On black

13.87
#F2CF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF60
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF60#FFFFFF#000000##000000
##F2CF601.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf60;
/* rgb */ color: rgb(242, 207, 96);
/* oklch */ color: oklch(86.3% 0.135 91.8);
Tailwind
colors: {
  custom: {
    50: '#fadd91',
    500: '#f2cf60',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf60;
$custom-light: #fadd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf60",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 96
  },
  "hsl": {
    "h": 45.616,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86334,
    "c": 0.13494,
    "h": 91.8
  },
  "luminance": 0.64347
}

Semantic roles & 50–950 ramp

primary
#F2CF60
secondary
#3255C4
accent
#39E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF60

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

Preview Lab → · Contrast checker → · Palette generator →

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