#F2D160#F2D160

#F2D160 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.136 H 93.1°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#F2D160
RGBrgb(242, 209, 96)
HSLhsl(46, 85%, 66%)
HSVhsv(46, 60%, 95%)
CMYKcmyk(0%, 13.6%, 60.3%, 5.1%)
CIE-LABlab(84.65, -1.30, 59.03)
CIE-LCHlch(84.65, 59.05, 91.26°)
OKLaboklab(86.73% -0.0073 0.1361)
OKLCHoklch(86.73% 0.136 93.1)
XYZxyz(61.5325, 65.3258, 20.4321)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D160 #6081F2
analogous
#F28860 #F2D160 #CAF260
triadic
#F2D160 #60F2D1 #D160F2
tetradic
#F2D160 #60F288 #6081F2 #F260CA
square
#F2D160 #60F288 #6081F2 #F260CA
split-complementary
#F2D160 #60CAF2 #8860F2
monochromatic
#C79E10 #EDC127 #F2D160 #F7E199 #FBF2D1

Accessibility & contrast

On white

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

On black

14.06
#F2D160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D160
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D160#FFFFFF#000000##000000
##F2D1601.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE54
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d160;
/* rgb */ color: rgb(242, 209, 96);
/* oklch */ color: oklch(86.7% 0.136 93.1);
Tailwind
colors: {
  custom: {
    50: '#fade91',
    500: '#f2d160',
    950: '#000000',
  },
}
SCSS
$custom: #f2d160;
$custom-light: #fade91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d160",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 96
  },
  "hsl": {
    "h": 46.438,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86732,
    "c": 0.13627,
    "h": 93.1
  },
  "luminance": 0.65323
}

Semantic roles & 50–950 ramp

primary
#F2D160
secondary
#3253C4
accent
#36E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D160

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

Preview Lab → · Contrast checker → · Palette generator →

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