#F2D867#F2D867

#F2D867 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.135 H 96.5°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#F2D867
RGBrgb(242, 216, 103)
HSLhsl(49, 84%, 68%)
HSVhsv(49, 57%, 95%)
CMYKcmyk(0%, 10.7%, 57.4%, 5.1%)
CIE-LABlab(86.49, -4.38, 57.96)
CIE-LCHlch(86.49, 58.12, 94.32°)
OKLaboklab(88.21% -0.0154 0.1346)
OKLCHoklch(88.21% 0.135 96.5)
XYZxyz(63.6245, 68.9711, 22.7907)
Luminance0.6897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D867 #6781F2
analogous
#F29267 #F2D867 #C6F267
triadic
#F2D867 #67F2D8 #D867F2
tetradic
#F2D867 #67F292 #6781F2 #F267C6
square
#F2D867 #67F292 #6781F2 #F267C6
split-complementary
#F2D867 #67C6F2 #9267F2
monochromatic
#CDAA12 #EDCA2F #F2D867 #F7E69F #FCF5D8

Accessibility & contrast

On white

1.42
#F2D867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#F2D867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D867
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D867#FFFFFF#000000##000000
##F2D8671.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45C
Deuteranopia (green-blind)
#F2DC6C
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d867;
/* rgb */ color: rgb(242, 216, 103);
/* oklch */ color: oklch(88.2% 0.135 96.5);
Tailwind
colors: {
  custom: {
    50: '#f9e396',
    500: '#f2d867',
    950: '#000000',
  },
}
SCSS
$custom: #f2d867;
$custom-light: #f9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d867",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 48.777,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88207,
    "c": 0.13548,
    "h": 96.5
  },
  "luminance": 0.68968
}

Semantic roles & 50–950 ramp

primary
#F2D867
secondary
#3450C9
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D867

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

Preview Lab → · Contrast checker → · Palette generator →

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