#F2D156#F2D156

#F2D156 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.144 H 94.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#F2D156
RGBrgb(242, 209, 86)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 64%, 95%)
CMYKcmyk(0%, 13.6%, 64.5%, 5.1%)
CIE-LABlab(84.56, -1.93, 63.29)
CIE-LCHlch(84.56, 63.32, 91.75°)
OKLaboklab(86.63% -0.0103 0.1438)
OKLCHoklch(86.63% 0.144 94.1)
XYZxyz(61.1010, 65.1533, 18.1598)
Luminance0.6515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D156 #5677F2
analogous
#F28356 #F2D156 #C5F256
triadic
#F2D156 #56F2D1 #D156F2
tetradic
#F2D156 #56F283 #5677F2 #F256C5
square
#F2D156 #56F283 #5677F2 #F256C5
split-complementary
#F2D156 #56C5F2 #8356F2
monochromatic
#BF9A0F #EEC21D #F2D156 #F6E08F #FBF0C8

Accessibility & contrast

On white

1.50
#F2D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#F2D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D156
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D156#FFFFFF#000000##000000
##F2D1561.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#EED75C
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d156;
/* rgb */ color: rgb(242, 209, 86);
/* oklch */ color: oklch(86.6% 0.144 94.1);
Tailwind
colors: {
  custom: {
    50: '#fade8b',
    500: '#f2d156',
    950: '#000000',
  },
}
SCSS
$custom: #f2d156;
$custom-light: #fade8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d156",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 47.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86633,
    "c": 0.14412,
    "h": 94.1
  },
  "luminance": 0.6515
}

Semantic roles & 50–950 ramp

primary
#F2D156
secondary
#2F4DBD
accent
#32E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D156

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

Preview Lab → · Contrast checker → · Palette generator →

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