#F2DC6C#F2DC6C

#F2DC6C is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.134 H 98.4°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#F2DC6C
RGBrgb(242, 220, 108)
HSLhsl(50, 84%, 69%)
HSVhsv(50, 55%, 95%)
CMYKcmyk(0%, 9.1%, 55.4%, 5.1%)
CIE-LABlab(87.56, -6.03, 56.90)
CIE-LCHlch(87.56, 57.22, 96.05°)
OKLaboklab(89.07% -0.0196 0.1329)
OKLCHoklch(89.07% 0.134 98.4)
XYZxyz(64.9203, 71.1490, 24.4979)
Luminance0.7115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC6C #6C82F2
analogous
#F2996C #F2DC6C #C5F26C
triadic
#F2DC6C #6CF2DC #DC6CF2
tetradic
#F2DC6C #6CF299 #6C82F2 #F26CC5
square
#F2DC6C #6CF299 #6C82F2 #F26CC5
split-complementary
#F2DC6C #6CC5F2 #996CF2
monochromatic
#D1B212 #EDCF34 #F2DC6C #F7E9A4 #FCF7DC

Accessibility & contrast

On white

1.38
#F2DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#F2DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC6C
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC6C#FFFFFF#000000##000000
##F2DC6C1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED761
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc6c;
/* rgb */ color: rgb(242, 220, 108);
/* oklch */ color: oklch(89.1% 0.134 98.4);
Tailwind
colors: {
  custom: {
    50: '#f9e699',
    500: '#f2dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc6c;
$custom-light: #f9e699;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc6c",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 50.149,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89069,
    "c": 0.13433,
    "h": 98.4
  },
  "luminance": 0.71146
}

Semantic roles & 50–950 ramp

primary
#F2DC6C
secondary
#3750CB
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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