#F2D167#F2D167

#F2D167 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.130 H 92.2°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F2D167
RGBrgb(242, 209, 103)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 57%, 95%)
CMYKcmyk(0%, 13.6%, 57.4%, 5.1%)
CIE-LABlab(84.72, -0.81, 55.93)
CIE-LCHlch(84.72, 55.94, 90.83°)
OKLaboklab(86.81% -0.0051 0.1303)
OKLCHoklch(86.81% 0.13 92.2)
XYZxyz(61.8692, 65.4605, 22.2056)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D167 #6788F2
analogous
#F28B67 #F2D167 #CEF267
triadic
#F2D167 #67F2D1 #D167F2
tetradic
#F2D167 #67F28B #6788F2 #F267CE
square
#F2D167 #67F28B #6788F2 #F267CE
split-complementary
#F2D167 #67CEF2 #8B67F2
monochromatic
#CDA112 #EDC02F #F2D167 #F7E29F #FCF3D8

Accessibility & contrast

On white

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

On black

14.09
#F2D167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D167
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D167#FFFFFF#000000##000000
##F2D1671.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d167;
/* rgb */ color: rgb(242, 209, 103);
/* oklch */ color: oklch(86.8% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#f9de95',
    500: '#f2d167',
    950: '#000000',
  },
}
SCSS
$custom: #f2d167;
$custom-light: #f9de95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d167",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 45.755,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86809,
    "c": 0.13035,
    "h": 92.2
  },
  "luminance": 0.65457
}

Semantic roles & 50–950 ramp

primary
#F2D167
secondary
#3457C9
accent
#39E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D167

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

Preview Lab → · Contrast checker → · Palette generator →

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