#F2DC6F#F2DC6F

#F2DC6F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.132 H 98.1°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F2DC6F
RGBrgb(242, 220, 111)
HSLhsl(50, 83%, 69%)
HSVhsv(50, 54%, 95%)
CMYKcmyk(0%, 9.1%, 54.1%, 5.1%)
CIE-LABlab(87.59, -5.80, 55.56)
CIE-LCHlch(87.59, 55.86, 95.96°)
OKLaboklab(89.1% -0.0186 0.1303)
OKLCHoklch(89.1% 0.132 98.1)
XYZxyz(65.0827, 71.2140, 25.3533)
Luminance0.7121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC6F #6F85F2
analogous
#F29B6F #F2DC6F #C6F26F
triadic
#F2DC6F #6FF2DC #DC6FF2
tetradic
#F2DC6F #6FF29B #6F85F2 #F26FC6
square
#F2DC6F #6FF29B #6F85F2 #F26FC6
split-complementary
#F2DC6F #6FC6F2 #9B6FF2
monochromatic
#D4B313 #EDCE37 #F2DC6F #F7EAA7 #FCF7DF

Accessibility & contrast

On white

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

On black

15.24
#F2DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC6F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC6F#FFFFFF#000000##000000
##F2DC6F1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dc6f;
/* rgb */ color: rgb(242, 220, 111);
/* oklch */ color: oklch(89.1% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#f9e69b',
    500: '#f2dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc6f;
$custom-light: #f9e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc6f",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 49.924,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89104,
    "c": 0.13162,
    "h": 98.1
  },
  "luminance": 0.71211
}

Semantic roles & 50–950 ramp

primary
#F2DC6F
secondary
#3A52CB
accent
#2AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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