#F2D66A#F2D66A

#F2D66A is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.131 H 95.0°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#F2D66A
RGBrgb(242, 214, 106)
HSLhsl(48, 84%, 68%)
HSVhsv(48, 56%, 95%)
CMYKcmyk(0%, 11.6%, 56.2%, 5.1%)
CIE-LABlab(86.01, -3.14, 56.04)
CIE-LCHlch(86.01, 56.13, 93.21°)
OKLaboklab(87.84% -0.0115 0.1308)
OKLCHoklch(87.84% 0.131 95)
XYZxyz(63.2685, 68.0139, 23.4283)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D66A #6A86F2
analogous
#F2926A #F2D66A #CAF26A
triadic
#F2D66A #6AF2D6 #D66AF2
tetradic
#F2D66A #6AF292 #6A86F2 #F26ACA
square
#F2D66A #6AF292 #6A86F2 #F26ACA
split-complementary
#F2D66A #6ACAF2 #926AF2
monochromatic
#CFA912 #EDC732 #F2D66A #F7E5A2 #FCF5DB

Accessibility & contrast

On white

1.44
#F2D66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#F2D66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D66A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D66A#FFFFFF#000000##000000
##F2D66A1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D260
Deuteranopia (green-blind)
#F0DB6F
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d66a;
/* rgb */ color: rgb(242, 214, 106);
/* oklch */ color: oklch(87.8% 0.131 95.0);
Tailwind
colors: {
  custom: {
    50: '#f9e298',
    500: '#f2d66a',
    950: '#000000',
  },
}
SCSS
$custom: #f2d66a;
$custom-light: #f9e298;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d66a",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 106
  },
  "hsl": {
    "h": 47.647,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8784,
    "c": 0.13131,
    "h": 95
  },
  "luminance": 0.68011
}

Semantic roles & 50–950 ramp

primary
#F2D66A
secondary
#3654CB
accent
#32E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D66A

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

Preview Lab → · Contrast checker → · Palette generator →

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