#F2D14F#F2D14F

#F2D14F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.149 H 94.7°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#F2D14F
RGBrgb(242, 209, 79)
HSLhsl(48, 86%, 63%)
HSVhsv(48, 67%, 95%)
CMYKcmyk(0%, 13.6%, 67.4%, 5.1%)
CIE-LABlab(84.51, -2.33, 66.13)
CIE-LCHlch(84.51, 66.17, 92.02°)
OKLaboklab(86.57% -0.0122 0.1487)
OKLCHoklch(86.57% 0.149 94.7)
XYZxyz(60.8327, 65.0459, 16.7465)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D14F #4F70F2
analogous
#F2804F #F2D14F #C1F24F
triadic
#F2D14F #4FF2D1 #D14FF2
tetradic
#F2D14F #4FF280 #4F70F2 #F24FC1
square
#F2D14F #4FF280 #4F70F2 #F24FC1
split-complementary
#F2D14F #4FC1F2 #804FF2
monochromatic
#B9960E #EEC216 #F2D14F #F6E088 #FAEFC1

Accessibility & contrast

On white

1.50
#F2D14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#F2D14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D14F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D14F#FFFFFF#000000##000000
##F2D14F1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#EED756
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d14f;
/* rgb */ color: rgb(242, 209, 79);
/* oklch */ color: oklch(86.6% 0.149 94.7);
Tailwind
colors: {
  custom: {
    50: '#fade87',
    500: '#f2d14f',
    950: '#000000',
  },
}
SCSS
$custom: #f2d14f;
$custom-light: #fade87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d14f",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 79
  },
  "hsl": {
    "h": 47.853,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86572,
    "c": 0.14917,
    "h": 94.7
  },
  "luminance": 0.65043
}

Semantic roles & 50–950 ramp

primary
#F2D14F
secondary
#2D49B8
accent
#30E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D14F

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

Preview Lab → · Contrast checker → · Palette generator →

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