#F2CE5C#F2CE5C

#F2CE5C is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.1% C 0.138 H 91.7°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#F2CE5C
RGBrgb(242, 206, 92)
HSLhsl(46, 85%, 65%)
HSVhsv(46, 62%, 95%)
CMYKcmyk(0%, 14.9%, 62%, 5.1%)
CIE-LABlab(83.86, -0.03, 59.93)
CIE-LCHlch(83.86, 59.93, 90.03°)
OKLaboklab(86.1% -0.0041 0.1375)
OKLCHoklch(86.1% 0.138 91.7)
XYZxyz(60.6239, 63.7958, 19.2438)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CE5C #5C80F2
analogous
#F2835C #F2CE5C #CBF25C
triadic
#F2CE5C #5CF2CE #CE5CF2
tetradic
#F2CE5C #5CF283 #5C80F2 #F25CCB
square
#F2CE5C #5CF283 #5C80F2 #F25CCB
split-complementary
#F2CE5C #5CCBF2 #835CF2
monochromatic
#C49910 #EDBD23 #F2CE5C #F7DF95 #FBF0CD

Accessibility & contrast

On white

1.53
#F2CE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#F2CE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CE5C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CE5C#FFFFFF#000000##000000
##F2CE5C1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB50
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f2ce5c;
/* rgb */ color: rgb(242, 206, 92);
/* oklch */ color: oklch(86.1% 0.138 91.7);
Tailwind
colors: {
  custom: {
    50: '#fadc8e',
    500: '#f2ce5c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ce5c;
$custom-light: #fadc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ce5c",
  "rgb": {
    "r": 242,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 45.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86095,
    "c": 0.13752,
    "h": 91.7
  },
  "luminance": 0.63793
}

Semantic roles & 50–950 ramp

primary
#F2CE5C
secondary
#3154C1
accent
#39E204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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