#F2CF5F#F2CF5F

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

Color values

HEX#F2CF5F
RGBrgb(242, 207, 95)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 61%, 95%)
CMYKcmyk(0%, 14.5%, 60.7%, 5.1%)
CIE-LABlab(84.14, -0.35, 58.91)
CIE-LCHlch(84.14, 58.91, 90.34°)
OKLaboklab(86.32% -0.0047 0.1357)
OKLCHoklch(86.32% 0.136 92)
XYZxyz(60.9991, 64.3323, 20.0287)
Luminance0.6433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF5F #5F82F2
analogous
#F2855F #F2CF5F #CCF25F
triadic
#F2CF5F #5FF2CF #CF5FF2
tetradic
#F2CF5F #5FF285 #5F82F2 #F25FCC
square
#F2CF5F #5FF285 #5F82F2 #F25FCC
split-complementary
#F2CF5F #5FCCF2 #855FF2
monochromatic
#C69B10 #EDBE26 #F2CF5F #F7E098 #FBF1D0

Accessibility & contrast

On white

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

On black

13.87
#F2CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF5F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF5F#FFFFFF#000000##000000
##F2CF5F1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf5f;
/* rgb */ color: rgb(242, 207, 95);
/* oklch */ color: oklch(86.3% 0.136 92.0);
Tailwind
colors: {
  custom: {
    50: '#fadd90',
    500: '#f2cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf5f;
$custom-light: #fadd90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf5f",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 45.714,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86324,
    "c": 0.13575,
    "h": 92
  },
  "luminance": 0.64329
}

Semantic roles & 50–950 ramp

primary
#F2CF5F
secondary
#3254C4
accent
#39E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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