#F2DC6E#F2DC6E

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

Color values

HEX#F2DC6E
RGBrgb(242, 220, 110)
HSLhsl(50, 84%, 69%)
HSVhsv(50, 55%, 95%)
CMYKcmyk(0%, 9.1%, 54.5%, 5.1%)
CIE-LABlab(87.58, -5.88, 56.01)
CIE-LCHlch(87.58, 56.32, 95.99°)
OKLaboklab(89.09% -0.0189 0.1312)
OKLCHoklch(89.09% 0.133 98.2)
XYZxyz(65.0279, 71.1921, 25.0650)
Luminance0.7119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC6E #6E84F2
analogous
#F29A6E #F2DC6E #C6F26E
triadic
#F2DC6E #6EF2DC #DC6EF2
tetradic
#F2DC6E #6EF29A #6E84F2 #F26EC6
square
#F2DC6E #6EF29A #6E84F2 #F26EC6
split-complementary
#F2DC6E #6EC6F2 #9A6EF2
monochromatic
#D3B313 #EDCE36 #F2DC6E #F7EAA6 #FCF7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DC6E#FFFFFF#000000##000000
##F2DC6E1.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)
#EED764
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc6e;
/* rgb */ color: rgb(242, 220, 110);
/* oklch */ color: oklch(89.1% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#f9e69a',
    500: '#f2dc6e',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc6e;
$custom-light: #f9e69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc6e",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 110
  },
  "hsl": {
    "h": 50,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89092,
    "c": 0.13252,
    "h": 98.2
  },
  "luminance": 0.71189
}

Semantic roles & 50–950 ramp

primary
#F2DC6E
secondary
#3951CB
accent
#2AE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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