#F2D267#F2D267

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

Color values

HEX#F2D267
RGBrgb(242, 210, 103)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 57%, 95%)
CMYKcmyk(0%, 13.2%, 57.4%, 5.1%)
CIE-LABlab(84.97, -1.33, 56.22)
CIE-LCHlch(84.97, 56.24, 91.35°)
OKLaboklab(87.01% -0.0065 0.1309)
OKLCHoklch(87.01% 0.131 92.9)
XYZxyz(62.1153, 65.9528, 22.2877)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D267 #6787F2
analogous
#F28C67 #F2D267 #CCF267
triadic
#F2D267 #67F2D2 #D267F2
tetradic
#F2D267 #67F28C #6787F2 #F267CC
square
#F2D267 #67F28C #6787F2 #F267CC
split-complementary
#F2D267 #67CCF2 #8C67F2
monochromatic
#CDA212 #EDC12F #F2D267 #F7E39F #FCF3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D267#FFFFFF#000000##000000
##F2D2671.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)
#E5CF5C
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d267;
/* rgb */ color: rgb(242, 210, 103);
/* oklch */ color: oklch(87.0% 0.131 92.9);
Tailwind
colors: {
  custom: {
    50: '#f9df95',
    500: '#f2d267',
    950: '#000000',
  },
}
SCSS
$custom: #f2d267;
$custom-light: #f9df95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d267",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 103
  },
  "hsl": {
    "h": 46.187,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.13103,
    "h": 92.9
  },
  "luminance": 0.6595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D267

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

Preview Lab → · Contrast checker → · Palette generator →

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