#F2D266#F2D266

#F2D266 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.132 H 93.0°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#F2D266
RGBrgb(242, 210, 102)
HSLhsl(46, 84%, 67%)
HSVhsv(46, 58%, 95%)
CMYKcmyk(0%, 13.2%, 57.9%, 5.1%)
CIE-LABlab(84.96, -1.40, 56.67)
CIE-LCHlch(84.96, 56.69, 91.41°)
OKLaboklab(87% -0.0069 0.1317)
OKLCHoklch(87% 0.132 93)
XYZxyz(62.0655, 65.9328, 22.0249)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D266 #6686F2
analogous
#F28C66 #F2D266 #CCF266
triadic
#F2D266 #66F2D2 #D266F2
tetradic
#F2D266 #66F28C #6686F2 #F266CC
square
#F2D266 #66F28C #6686F2 #F266CC
split-complementary
#F2D266 #66CCF2 #8C66F2
monochromatic
#CCA211 #EDC12E #F2D266 #F7E39E #FCF3D7

Accessibility & contrast

On white

1.48
#F2D266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#F2D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D266
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D266#FFFFFF#000000##000000
##F2D2661.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d266;
/* rgb */ color: rgb(242, 210, 102);
/* oklch */ color: oklch(87.0% 0.132 93.0);
Tailwind
colors: {
  custom: {
    50: '#f9df95',
    500: '#f2d266',
    950: '#000000',
  },
}
SCSS
$custom: #f2d266;
$custom-light: #f9df95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d266",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 46.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86996,
    "c": 0.1319,
    "h": 93
  },
  "luminance": 0.6593
}

Semantic roles & 50–950 ramp

primary
#F2D266
secondary
#3456C9
accent
#37E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D266

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

Preview Lab → · Contrast checker → · Palette generator →

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