#F2CF5E#F2CF5E

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

Color values

HEX#F2CF5E
RGBrgb(242, 207, 94)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 61%, 95%)
CMYKcmyk(0%, 14.5%, 61.2%, 5.1%)
CIE-LABlab(84.13, -0.41, 59.34)
CIE-LCHlch(84.13, 59.35, 90.40°)
OKLaboklab(86.31% -0.005 0.1365)
OKLCHoklch(86.31% 0.137 92.1)
XYZxyz(60.9540, 64.3143, 19.7908)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF5E #5E81F2
analogous
#F2855E #F2CF5E #CBF25E
triadic
#F2CF5E #5EF2CF #CF5EF2
tetradic
#F2CF5E #5EF285 #5E81F2 #F25ECB
square
#F2CF5E #5EF285 #5E81F2 #F25ECB
split-complementary
#F2CF5E #5ECBF2 #855EF2
monochromatic
#C69B10 #EDBE25 #F2CF5E #F7E097 #FBF1CF

Accessibility & contrast

On white

1.51
#F2CF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CF5E#FFFFFF#000000##000000
##F2CF5E1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf5e;
/* rgb */ color: rgb(242, 207, 94);
/* oklch */ color: oklch(86.3% 0.137 92.1);
Tailwind
colors: {
  custom: {
    50: '#fadd90',
    500: '#f2cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf5e;
$custom-light: #fadd90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf5e",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 45.811,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86313,
    "c": 0.13656,
    "h": 92.1
  },
  "luminance": 0.64311
}

Semantic roles & 50–950 ramp

primary
#F2CF5E
secondary
#3154C3
accent
#38E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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