#F2D64F#F2D64F

#F2D64F is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.153 H 97.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F2D64F
RGBrgb(242, 214, 79)
HSLhsl(50, 86%, 63%)
HSVhsv(50, 67%, 95%)
CMYKcmyk(0%, 11.6%, 67.4%, 5.1%)
CIE-LABlab(85.77, -4.87, 67.44)
CIE-LCHlch(85.77, 67.61, 94.13°)
OKLaboklab(87.58% -0.0195 0.1514)
OKLCHoklch(87.58% 0.153 97.3)
XYZxyz(62.0787, 67.5380, 17.1619)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D64F #4F6BF2
analogous
#F2844F #F2D64F #BDF24F
triadic
#F2D64F #4FF2D6 #D64FF2
tetradic
#F2D64F #4FF284 #4F6BF2 #F24FBD
square
#F2D64F #4FF284 #4F6BF2 #F24FBD
split-complementary
#F2D64F #4FBDF2 #844FF2
monochromatic
#B99C0E #EEC916 #F2D64F #F6E388 #FAF1C1

Accessibility & contrast

On white

1.45
#F2D64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F2D64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D64F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D64F#FFFFFF#000000##000000
##F2D64F1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13D
Deuteranopia (green-blind)
#F2DA56
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d64f;
/* rgb */ color: rgb(242, 214, 79);
/* oklch */ color: oklch(87.6% 0.153 97.3);
Tailwind
colors: {
  custom: {
    50: '#fae287',
    500: '#f2d64f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d64f;
$custom-light: #fae287;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d64f",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 49.693,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87575,
    "c": 0.15268,
    "h": 97.3
  },
  "luminance": 0.67535
}

Semantic roles & 50–950 ramp

primary
#F2D64F
secondary
#2D45B8
accent
#29E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D64F

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

Preview Lab → · Contrast checker → · Palette generator →

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