#F2D164#F2D164

#F2D164 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.133 H 92.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#F2D164
RGBrgb(242, 209, 100)
HSLhsl(46, 85%, 67%)
HSVhsv(46, 59%, 95%)
CMYKcmyk(0%, 13.6%, 58.7%, 5.1%)
CIE-LABlab(84.69, -1.03, 57.27)
CIE-LCHlch(84.69, 57.28, 91.03°)
OKLaboklab(86.78% -0.006 0.1328)
OKLCHoklch(86.78% 0.133 92.6)
XYZxyz(61.7214, 65.4014, 21.4268)
Luminance0.6540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D164 #6485F2
analogous
#F28A64 #F2D164 #CCF264
triadic
#F2D164 #64F2D1 #D164F2
tetradic
#F2D164 #64F28A #6485F2 #F264CC
square
#F2D164 #64F28A #6485F2 #F264CC
split-complementary
#F2D164 #64CCF2 #8A64F2
monochromatic
#CB9F11 #EDC02C #F2D164 #F7E29C #FBF3D5

Accessibility & contrast

On white

1.49
#F2D164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#F2D164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D164
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D164#FFFFFF#000000##000000
##F2D1641.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE59
Deuteranopia (green-blind)
#EDD869
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d164;
/* rgb */ color: rgb(242, 209, 100);
/* oklch */ color: oklch(86.8% 0.133 92.6);
Tailwind
colors: {
  custom: {
    50: '#f9de93',
    500: '#f2d164',
    950: '#000000',
  },
}
SCSS
$custom: #f2d164;
$custom-light: #f9de93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d164",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 100
  },
  "hsl": {
    "h": 46.056,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86775,
    "c": 0.13293,
    "h": 92.6
  },
  "luminance": 0.65398
}

Semantic roles & 50–950 ramp

primary
#F2D164
secondary
#3355C7
accent
#38E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D164

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

Preview Lab → · Contrast checker → · Palette generator →

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