#F2D163#F2D163

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

Color values

HEX#F2D163
RGBrgb(242, 209, 99)
HSLhsl(46, 85%, 67%)
HSVhsv(46, 59%, 95%)
CMYKcmyk(0%, 13.6%, 59.1%, 5.1%)
CIE-LABlab(84.68, -1.10, 57.72)
CIE-LCHlch(84.68, 57.73, 91.09°)
OKLaboklab(86.76% -0.0064 0.1336)
OKLCHoklch(86.76% 0.134 92.7)
XYZxyz(61.6732, 65.3821, 21.1735)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D163 #6384F2
analogous
#F28A63 #F2D163 #CBF263
triadic
#F2D163 #63F2D1 #D163F2
tetradic
#F2D163 #63F28A #6384F2 #F263CB
square
#F2D163 #63F28A #6384F2 #F263CB
split-complementary
#F2D163 #63CBF2 #8A63F2
monochromatic
#CA9F11 #EDC02B #F2D163 #F7E29B #FBF2D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D163#FFFFFF#000000##000000
##F2D1631.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)
#E5CE58
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d163;
/* rgb */ color: rgb(242, 209, 99);
/* oklch */ color: oklch(86.8% 0.134 92.7);
Tailwind
colors: {
  custom: {
    50: '#f9de93',
    500: '#f2d163',
    950: '#000000',
  },
}
SCSS
$custom: #f2d163;
$custom-light: #f9de93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d163",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 99
  },
  "hsl": {
    "h": 46.154,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.13377,
    "h": 92.7
  },
  "luminance": 0.65379
}

Semantic roles & 50–950 ramp

primary
#F2D163
secondary
#3355C6
accent
#37E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D163

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

Preview Lab → · Contrast checker → · Palette generator →

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