#F2D466#F2D466

#F2D466 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.133 H 94.2°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F2D466
RGBrgb(242, 212, 102)
HSLhsl(47, 84%, 67%)
HSVhsv(47, 58%, 95%)
CMYKcmyk(0%, 12.4%, 57.9%, 5.1%)
CIE-LABlab(85.47, -2.42, 57.25)
CIE-LCHlch(85.47, 57.30, 92.42°)
OKLaboklab(87.4% -0.0098 0.133)
OKLCHoklch(87.4% 0.133 94.2)
XYZxyz(62.5623, 66.9265, 22.1905)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D466 #6684F2
analogous
#F28E66 #F2D466 #CAF266
triadic
#F2D466 #66F2D4 #D466F2
tetradic
#F2D466 #66F28E #6684F2 #F266CA
square
#F2D466 #66F28E #6684F2 #F266CA
split-complementary
#F2D466 #66CAF2 #8E66F2
monochromatic
#CCA411 #EDC42E #F2D466 #F7E49E #FCF4D7

Accessibility & contrast

On white

1.46
#F2D466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F2D466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D466
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D466#FFFFFF#000000##000000
##F2D4661.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EFDA6B
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d466;
/* rgb */ color: rgb(242, 212, 102);
/* oklch */ color: oklch(87.4% 0.133 94.2);
Tailwind
colors: {
  custom: {
    50: '#f9e095',
    500: '#f2d466',
    950: '#000000',
  },
}
SCSS
$custom: #f2d466;
$custom-light: #f9e095;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d466",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 102
  },
  "hsl": {
    "h": 47.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87395,
    "c": 0.13333,
    "h": 94.2
  },
  "luminance": 0.66924
}

Semantic roles & 50–950 ramp

primary
#F2D466
secondary
#3454C9
accent
#34E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D466

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

Preview Lab → · Contrast checker → · Palette generator →

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