#F2D667#F2D667

#F2D667 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.134 H 95.3°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F2D667
RGBrgb(242, 214, 103)
HSLhsl(48, 84%, 68%)
HSVhsv(48, 57%, 95%)
CMYKcmyk(0%, 11.6%, 57.4%, 5.1%)
CIE-LABlab(85.98, -3.36, 57.38)
CIE-LCHlch(85.98, 57.48, 93.36°)
OKLaboklab(87.81% -0.0124 0.1334)
OKLCHoklch(87.81% 0.134 95.3)
XYZxyz(63.1153, 67.9526, 22.6210)
Luminance0.6795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D667 #6783F2
analogous
#F29167 #F2D667 #C8F267
triadic
#F2D667 #67F2D6 #D667F2
tetradic
#F2D667 #67F291 #6783F2 #F267C8
square
#F2D667 #67F291 #6783F2 #F267C8
split-complementary
#F2D667 #67C8F2 #9167F2
monochromatic
#CDA712 #EDC72F #F2D667 #F7E59F #FCF4D8

Accessibility & contrast

On white

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

On black

14.59
#F2D667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D667
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D667#FFFFFF#000000##000000
##F2D6671.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25C
Deuteranopia (green-blind)
#F0DB6C
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d667;
/* rgb */ color: rgb(242, 214, 103);
/* oklch */ color: oklch(87.8% 0.134 95.3);
Tailwind
colors: {
  custom: {
    50: '#f9e296',
    500: '#f2d667',
    950: '#000000',
  },
}
SCSS
$custom: #f2d667;
$custom-light: #f9e296;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d667",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 103
  },
  "hsl": {
    "h": 47.914,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87806,
    "c": 0.13395,
    "h": 95.3
  },
  "luminance": 0.6795
}

Semantic roles & 50–950 ramp

primary
#F2D667
secondary
#3452C9
accent
#31E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D667

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

Preview Lab → · Contrast checker → · Palette generator →

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