#F2CF58#F2CF58

#F2CF58 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.3% C 0.141 H 92.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#F2CF58
RGBrgb(242, 207, 88)
HSLhsl(46, 86%, 65%)
HSVhsv(46, 64%, 95%)
CMYKcmyk(0%, 14.5%, 63.6%, 5.1%)
CIE-LABlab(84.08, -0.79, 61.92)
CIE-LCHlch(84.08, 61.92, 90.73°)
OKLaboklab(86.25% -0.0068 0.1411)
OKLCHoklch(86.25% 0.141 92.8)
XYZxyz(60.6951, 64.2107, 18.4276)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF58 #587BF2
analogous
#F28258 #F2CF58 #C8F258
triadic
#F2CF58 #58F2CF #CF58F2
tetradic
#F2CF58 #58F282 #587BF2 #F258C8
square
#F2CF58 #58F282 #587BF2 #F258C8
split-complementary
#F2CF58 #58C8F2 #8258F2
monochromatic
#C1980F #EEBF1F #F2CF58 #F6DF91 #FBF0CA

Accessibility & contrast

On white

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

On black

13.84
#F2CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF58
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF58#FFFFFF#000000##000000
##F2CF581.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf58;
/* rgb */ color: rgb(242, 207, 88);
/* oklch */ color: oklch(86.3% 0.141 92.8);
Tailwind
colors: {
  custom: {
    50: '#fadd8c',
    500: '#f2cf58',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf58;
$custom-light: #fadd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf58",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 46.364,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86254,
    "c": 0.14128,
    "h": 92.8
  },
  "luminance": 0.64207
}

Semantic roles & 50–950 ramp

primary
#F2CF58
secondary
#3050BE
accent
#36E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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