#F2CE5F#F2CE5F

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

Color values

HEX#F2CE5F
RGBrgb(242, 206, 95)
HSLhsl(45, 85%, 66%)
HSVhsv(45, 61%, 95%)
CMYKcmyk(0%, 14.9%, 60.7%, 5.1%)
CIE-LABlab(83.89, 0.17, 58.63)
CIE-LCHlch(83.89, 58.63, 89.84°)
OKLaboklab(86.13% -0.0032 0.1351)
OKLCHoklch(86.13% 0.135 91.3)
XYZxyz(60.7576, 63.8493, 19.9482)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CE5F #5F83F2
analogous
#F2845F #F2CE5F #CCF25F
triadic
#F2CE5F #5FF2CE #CE5FF2
tetradic
#F2CE5F #5FF284 #5F83F2 #F25FCC
square
#F2CE5F #5FF284 #5F83F2 #F25FCC
split-complementary
#F2CE5F #5FCCF2 #845FF2
monochromatic
#C69A10 #EDBD26 #F2CE5F #F7DF98 #FBF1D0

Accessibility & contrast

On white

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

On black

13.77
#F2CE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CE5F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CE5F#FFFFFF#000000##000000
##F2CE5F1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ce5f;
/* rgb */ color: rgb(242, 206, 95);
/* oklch */ color: oklch(86.1% 0.135 91.3);
Tailwind
colors: {
  custom: {
    50: '#fadc90',
    500: '#f2ce5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2ce5f;
$custom-light: #fadc90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ce5f",
  "rgb": {
    "r": 242,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 45.306,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86126,
    "c": 0.13511,
    "h": 91.3
  },
  "luminance": 0.63846
}

Semantic roles & 50–950 ramp

primary
#F2CE5F
secondary
#3255C4
accent
#3AE104
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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