#F2D056#F2D056

#F2D056 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.143 H 93.5°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#F2D056
RGBrgb(242, 208, 86)
HSLhsl(47, 86%, 64%)
HSVhsv(47, 64%, 95%)
CMYKcmyk(0%, 14%, 64.5%, 5.1%)
CIE-LABlab(84.31, -1.42, 63.02)
CIE-LCHlch(84.31, 63.04, 91.29°)
OKLaboklab(86.43% -0.0088 0.1432)
OKLCHoklch(86.43% 0.143 93.5)
XYZxyz(60.8565, 64.6641, 18.0783)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D056 #5678F2
analogous
#F28256 #F2D056 #C6F256
triadic
#F2D056 #56F2D0 #D056F2
tetradic
#F2D056 #56F282 #5678F2 #F256C6
square
#F2D056 #56F282 #5678F2 #F256C6
split-complementary
#F2D056 #56C6F2 #8256F2
monochromatic
#BF990F #EEC01D #F2D056 #F6E08F #FBF0C8

Accessibility & contrast

On white

1.51
#F2D056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#F2D056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D056
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D056#FFFFFF#000000##000000
##F2D0561.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC48
Deuteranopia (green-blind)
#EDD75C
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f2d056;
/* rgb */ color: rgb(242, 208, 86);
/* oklch */ color: oklch(86.4% 0.143 93.5);
Tailwind
colors: {
  custom: {
    50: '#fade8b',
    500: '#f2d056',
    950: '#000000',
  },
}
SCSS
$custom: #f2d056;
$custom-light: #fade8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d056",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 86
  },
  "hsl": {
    "h": 46.923,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86434,
    "c": 0.14345,
    "h": 93.5
  },
  "luminance": 0.64661
}

Semantic roles & 50–950 ramp

primary
#F2D056
secondary
#2F4EBD
accent
#34E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D056

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

Preview Lab → · Contrast checker → · Palette generator →

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