#F2CF61#F2CF61

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

Color values

HEX#F2CF61
RGBrgb(242, 207, 97)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 60%, 95%)
CMYKcmyk(0%, 14.5%, 59.9%, 5.1%)
CIE-LABlab(84.16, -0.21, 58.03)
CIE-LCHlch(84.16, 58.03, 90.21°)
OKLaboklab(86.35% -0.004 0.1341)
OKLCHoklch(86.35% 0.134 91.7)
XYZxyz(61.0912, 64.3692, 20.5136)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF61 #6184F2
analogous
#F28761 #F2CF61 #CDF261
triadic
#F2CF61 #61F2CF #CF61F2
tetradic
#F2CF61 #61F287 #6184F2 #F261CD
square
#F2CF61 #61F287 #6184F2 #F261CD
split-complementary
#F2CF61 #61CDF2 #8761F2
monochromatic
#C89C10 #EDBE28 #F2CF61 #F7E09A #FBF1D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CF61#FFFFFF#000000##000000
##F2CF611.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)
#E3CC56
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf61;
/* rgb */ color: rgb(242, 207, 97);
/* oklch */ color: oklch(86.3% 0.134 91.7);
Tailwind
colors: {
  custom: {
    50: '#fadd91',
    500: '#f2cf61',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf61;
$custom-light: #fadd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf61",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 97
  },
  "hsl": {
    "h": 45.517,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86345,
    "c": 0.13411,
    "h": 91.7
  },
  "luminance": 0.64366
}

Semantic roles & 50–950 ramp

primary
#F2CF61
secondary
#3256C5
accent
#3AE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF61

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

Preview Lab → · Contrast checker → · Palette generator →

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