#F2CE62#F2CE62

#F2CE62 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 86.2% C 0.133 H 91.0°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#F2CE62
RGBrgb(242, 206, 98)
HSLhsl(45, 85%, 67%)
HSVhsv(45, 60%, 95%)
CMYKcmyk(0%, 14.9%, 59.5%, 5.1%)
CIE-LABlab(83.92, 0.37, 57.31)
CIE-LCHlch(83.92, 57.31, 89.63°)
OKLaboklab(86.16% -0.0022 0.1326)
OKLCHoklch(86.16% 0.133 91)
XYZxyz(60.8966, 63.9049, 20.6802)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CE62 #6286F2
analogous
#F28662 #F2CE62 #CEF262
triadic
#F2CE62 #62F2CE #CE62F2
tetradic
#F2CE62 #62F286 #6286F2 #F262CE
square
#F2CE62 #62F286 #6286F2 #F262CE
split-complementary
#F2CE62 #62CEF2 #8662F2
monochromatic
#C99B11 #EDBC29 #F2CE62 #F7E09B #FBF1D3

Accessibility & contrast

On white

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

On black

13.78
#F2CE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CE62
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CE62#FFFFFF#000000##000000
##F2CE621.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#FFBFB6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f2ce62;
/* rgb */ color: rgb(242, 206, 98);
/* oklch */ color: oklch(86.2% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#f9dc92',
    500: '#f2ce62',
    950: '#000000',
  },
}
SCSS
$custom: #f2ce62;
$custom-light: #f9dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ce62",
  "rgb": {
    "r": 242,
    "g": 206,
    "b": 98
  },
  "hsl": {
    "h": 45,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86158,
    "c": 0.13264,
    "h": 91
  },
  "luminance": 0.63902
}

Semantic roles & 50–950 ramp

primary
#F2CE62
secondary
#3357C6
accent
#3CE104
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CE62

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

Preview Lab → · Contrast checker → · Palette generator →

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