#F2CF4F#F2CF4F

#F2CF4F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.148 H 93.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#F2CF4F
RGBrgb(242, 207, 79)
HSLhsl(47, 86%, 63%)
HSVhsv(47, 67%, 95%)
CMYKcmyk(0%, 14.5%, 67.4%, 5.1%)
CIE-LABlab(84.00, -1.31, 65.61)
CIE-LCHlch(84.00, 65.62, 91.14°)
OKLaboklab(86.17% -0.0093 0.1476)
OKLCHoklch(86.17% 0.148 93.6)
XYZxyz(60.3451, 64.0707, 16.5840)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CF4F #4F72F2
analogous
#F27E4F #F2CF4F #C3F24F
triadic
#F2CF4F #4FF2CF #CF4FF2
tetradic
#F2CF4F #4FF27E #4F72F2 #F24FC3
square
#F2CF4F #4FF27E #4F72F2 #F24FC3
split-complementary
#F2CF4F #4FC3F2 #7E4FF2
monochromatic
#B9940E #EEBF16 #F2CF4F #F6DF88 #FAEEC1

Accessibility & contrast

On white

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

On black

13.81
#F2CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CF4F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CF4F#FFFFFF#000000##000000
##F2CF4F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cf4f;
/* rgb */ color: rgb(242, 207, 79);
/* oklch */ color: oklch(86.2% 0.148 93.6);
Tailwind
colors: {
  custom: {
    50: '#fadd87',
    500: '#f2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #f2cf4f;
$custom-light: #fadd87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cf4f",
  "rgb": {
    "r": 242,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 47.117,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86173,
    "c": 0.14785,
    "h": 93.6
  },
  "luminance": 0.64067
}

Semantic roles & 50–950 ramp

primary
#F2CF4F
secondary
#2D4BB8
accent
#33E303
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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