#F2D463#F2D463

#F2D463 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.136 H 94.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F2D463
RGBrgb(242, 212, 99)
HSLhsl(47, 85%, 67%)
HSVhsv(47, 59%, 95%)
CMYKcmyk(0%, 12.4%, 59.1%, 5.1%)
CIE-LABlab(85.44, -2.63, 58.57)
CIE-LCHlch(85.44, 58.63, 92.57°)
OKLaboklab(87.36% -0.0108 0.1354)
OKLCHoklch(87.36% 0.136 94.6)
XYZxyz(62.4162, 66.8681, 21.4211)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D463 #6381F2
analogous
#F28D63 #F2D463 #C8F263
triadic
#F2D463 #63F2D4 #D463F2
tetradic
#F2D463 #63F28D #6381F2 #F263C8
square
#F2D463 #63F28D #6381F2 #F263C8
split-complementary
#F2D463 #63C8F2 #8D63F2
monochromatic
#CAA311 #EDC42B #F2D463 #F7E49B #FBF3D4

Accessibility & contrast

On white

1.46
#F2D463 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#F2D463 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D463
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D463#FFFFFF#000000##000000
##F2D4631.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D057
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d463;
/* rgb */ color: rgb(242, 212, 99);
/* oklch */ color: oklch(87.4% 0.136 94.6);
Tailwind
colors: {
  custom: {
    50: '#f9e093',
    500: '#f2d463',
    950: '#000000',
  },
}
SCSS
$custom: #f2d463;
$custom-light: #f9e093;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d463",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 99
  },
  "hsl": {
    "h": 47.413,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87362,
    "c": 0.13588,
    "h": 94.6
  },
  "luminance": 0.66865
}

Semantic roles & 50–950 ramp

primary
#F2D463
secondary
#3352C6
accent
#33E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D463

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

Preview Lab → · Contrast checker → · Palette generator →

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