#F2D446#F2D446

#F2D446 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.1% C 0.157 H 96.9°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F2D446
RGBrgb(242, 212, 70)
HSLhsl(50, 87%, 61%)
HSVhsv(50, 71%, 95%)
CMYKcmyk(0%, 12.4%, 71.1%, 5.1%)
CIE-LABlab(85.20, -4.30, 70.32)
CIE-LCHlch(85.20, 70.45, 93.50°)
OKLaboklab(87.1% -0.0189 0.156)
OKLCHoklch(87.1% 0.157 96.9)
XYZxyz(61.2700, 66.4096, 15.3842)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D446 #4664F2
analogous
#F27E46 #F2D446 #BAF246
triadic
#F2D446 #46F2D4 #D446F2
tetradic
#F2D446 #46F27E #4664F2 #F246BA
square
#F2D446 #46F27E #4664F2 #F246BA
split-complementary
#F2D446 #46BAF2 #7E46F2
monochromatic
#B1940C #EAC410 #F2D446 #F6E17F #FAEFB8

Accessibility & contrast

On white

1.47
#F2D446 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F2D446 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D446
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D446#FFFFFF#000000##000000
##F2D4461.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF30
Deuteranopia (green-blind)
#F1D94E
Tritanopia (blue-blind)
#FFC4B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d446;
/* rgb */ color: rgb(242, 212, 70);
/* oklch */ color: oklch(87.1% 0.157 96.9);
Tailwind
colors: {
  custom: {
    50: '#fae082',
    500: '#f2d446',
    950: '#000000',
  },
}
SCSS
$custom: #f2d446;
$custom-light: #fae082;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d446",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 70
  },
  "hsl": {
    "h": 49.535,
    "s": 86.869,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87104,
    "c": 0.15713,
    "h": 96.9
  },
  "luminance": 0.66406
}

Semantic roles & 50–950 ramp

primary
#F2D446
secondary
#2B43B1
accent
#29E302
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F2D446

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

Preview Lab → · Contrast checker → · Palette generator →

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