#F2DF6E#F2DF6E

#F2DF6E is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.135 H 99.9°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F2DF6E
RGBrgb(242, 223, 110)
HSLhsl(51, 84%, 69%)
HSVhsv(51, 55%, 95%)
CMYKcmyk(0%, 7.9%, 54.5%, 5.1%)
CIE-LABlab(88.34, -7.39, 56.90)
CIE-LCHlch(88.34, 57.38, 97.40°)
OKLaboklab(89.7% -0.0232 0.1331)
OKLCHoklch(89.7% 0.135 99.9)
XYZxyz(65.8224, 72.7809, 25.3298)
Luminance0.7278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF6E #6E81F2
analogous
#F29D6E #F2DF6E #C3F26E
triadic
#F2DF6E #6EF2DF #DF6EF2
tetradic
#F2DF6E #6EF29D #6E81F2 #F26EC3
square
#F2DF6E #6EF29D #6E81F2 #F26EC3
split-complementary
#F2DF6E #6EC3F2 #9D6EF2
monochromatic
#D3B713 #EDD336 #F2DF6E #F7EBA6 #FCF8DE

Accessibility & contrast

On white

1.35
#F2DF6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#F2DF6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF6E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF6E#FFFFFF#000000##000000
##F2DF6E1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D963
Deuteranopia (green-blind)
#F6E173
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df6e;
/* rgb */ color: rgb(242, 223, 110);
/* oklch */ color: oklch(89.7% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#f9e89b',
    500: '#f2df6e',
    950: '#000000',
  },
}
SCSS
$custom: #f2df6e;
$custom-light: #f9e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df6e",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 110
  },
  "hsl": {
    "h": 51.364,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89698,
    "c": 0.1351,
    "h": 99.9
  },
  "luminance": 0.72778
}

Semantic roles & 50–950 ramp

primary
#F2DF6E
secondary
#394ECB
accent
#25E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF6E

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

Preview Lab → · Contrast checker → · Palette generator →

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