#F2D256#F2D256

#F2D256 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.145 H 94.7°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#F2D256
RGBrgb(242, 210, 86)
HSLhsl(48, 86%, 64%)
HSVhsv(48, 64%, 95%)
CMYKcmyk(0%, 13.2%, 64.5%, 5.1%)
CIE-LABlab(84.82, -2.44, 63.56)
CIE-LCHlch(84.82, 63.61, 92.20°)
OKLaboklab(86.83% -0.0118 0.1443)
OKLCHoklch(86.83% 0.145 94.7)
XYZxyz(61.3471, 65.6455, 18.2418)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D256 #5676F2
analogous
#F28456 #F2D256 #C4F256
triadic
#F2D256 #56F2D2 #D256F2
tetradic
#F2D256 #56F284 #5676F2 #F256C4
square
#F2D256 #56F284 #5676F2 #F256C4
split-complementary
#F2D256 #56C4F2 #8456F2
monochromatic
#BF9B0F #EEC31D #F2D256 #F6E18F #FBF0C8

Accessibility & contrast

On white

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

On black

14.13
#F2D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D256
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D256#FFFFFF#000000##000000
##F2D2561.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE47
Deuteranopia (green-blind)
#EFD85C
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d256;
/* rgb */ color: rgb(242, 210, 86);
/* oklch */ color: oklch(86.8% 0.145 94.7);
Tailwind
colors: {
  custom: {
    50: '#fadf8b',
    500: '#f2d256',
    950: '#000000',
  },
}
SCSS
$custom: #f2d256;
$custom-light: #fadf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d256",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 47.692,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86833,
    "c": 0.14481,
    "h": 94.7
  },
  "luminance": 0.65642
}

Semantic roles & 50–950 ramp

primary
#F2D256
secondary
#2F4CBD
accent
#31E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D256

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

Preview Lab → · Contrast checker → · Palette generator →

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