#F2CF5D#F2CF5D

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

Color values

HEX#F2CF5D
RGBrgb(242, 207, 93)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 62%, 95%)
CMYKcmyk(0%, 14.5%, 61.6%, 5.1%)
CIE-LABlab(84.12, -0.48, 59.78)
CIE-LCHlch(84.12, 59.78, 90.46°)
OKLaboklab(86.3% -0.0053 0.1373)
OKLCHoklch(86.3% 0.137 92.2)
XYZxyz(60.9094, 64.2964, 19.5560)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF5D #5D80F2
analogous
#F2845D #F2CF5D #CAF25D
triadic
#F2CF5D #5DF2CF #CF5DF2
tetradic
#F2CF5D #5DF284 #5D80F2 #F25DCA
square
#F2CF5D #5DF284 #5D80F2 #F25DCA
split-complementary
#F2CF5D #5DCAF2 #845DF2
monochromatic
#C59A10 #EDBE24 #F2CF5D #F7E096 #FBF1CE

Accessibility & contrast

On white

1.52
#F2CF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#F2CF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF5D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF5D#FFFFFF#000000##000000
##F2CF5D1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC51
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2cf5d;
/* rgb */ color: rgb(242, 207, 93);
/* oklch */ color: oklch(86.3% 0.137 92.2);
Tailwind
colors: {
  custom: {
    50: '#fadd8f',
    500: '#f2cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf5d;
$custom-light: #fadd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf5d",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 45.906,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86303,
    "c": 0.13737,
    "h": 92.2
  },
  "luminance": 0.64293
}

Semantic roles & 50–950 ramp

primary
#F2CF5D
secondary
#3153C2
accent
#38E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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