#F2CF64#F2CF64

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

Color values

HEX#F2CF64
RGBrgb(242, 207, 100)
HSLhsl(45, 85%, 67%)
HSVhsv(45, 59%, 95%)
CMYKcmyk(0%, 14.5%, 58.7%, 5.1%)
CIE-LABlab(84.19, -0.00, 56.70)
CIE-LCHlch(84.19, 56.70, 90.00°)
OKLaboklab(86.38% -0.0031 0.1316)
OKLCHoklch(86.38% 0.132 91.3)
XYZxyz(61.2337, 64.4262, 21.2643)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF64 #6487F2
analogous
#F28864 #F2CF64 #CEF264
triadic
#F2CF64 #64F2CF #CF64F2
tetradic
#F2CF64 #64F288 #6487F2 #F264CE
square
#F2CF64 #64F288 #6487F2 #F264CE
split-complementary
#F2CF64 #64CEF2 #8864F2
monochromatic
#CB9D11 #EDBE2C #F2CF64 #F7E09C #FBF2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CF64#FFFFFF#000000##000000
##F2CF641.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)
#E3CC59
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf64;
/* rgb */ color: rgb(242, 207, 100);
/* oklch */ color: oklch(86.4% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#f9dd93',
    500: '#f2cf64',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf64;
$custom-light: #f9dd93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf64",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 100
  },
  "hsl": {
    "h": 45.211,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86378,
    "c": 0.1316,
    "h": 91.3
  },
  "luminance": 0.64423
}

Semantic roles & 50–950 ramp

primary
#F2CF64
secondary
#3358C7
accent
#3BE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF64

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

Preview Lab → · Contrast checker → · Palette generator →

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