#F2DF6D#F2DF6D

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

Color values

HEX#F2DF6D
RGBrgb(242, 223, 109)
HSLhsl(51, 84%, 69%)
HSVhsv(51, 55%, 95%)
CMYKcmyk(0%, 7.9%, 55%, 5.1%)
CIE-LABlab(88.33, -7.47, 57.34)
CIE-LCHlch(88.33, 57.83, 97.42°)
OKLaboklab(89.69% -0.0236 0.134)
OKLCHoklch(89.69% 0.136 100)
XYZxyz(65.7682, 72.7593, 25.0446)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF6D #6D80F2
analogous
#F29D6D #F2DF6D #C3F26D
triadic
#F2DF6D #6DF2DF #DF6DF2
tetradic
#F2DF6D #6DF29D #6D80F2 #F26DC3
square
#F2DF6D #6DF29D #6D80F2 #F26DC3
split-complementary
#F2DF6D #6DC3F2 #9D6DF2
monochromatic
#D2B713 #EDD335 #F2DF6D #F7EBA5 #FCF8DD

Accessibility & contrast

On white

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

On black

15.55
#F2DF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF6D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF6D#FFFFFF#000000##000000
##F2DF6D1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D962
Deuteranopia (green-blind)
#F7E172
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df6d;
/* rgb */ color: rgb(242, 223, 109);
/* oklch */ color: oklch(89.7% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#f9e89a',
    500: '#f2df6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2df6d;
$custom-light: #f9e89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df6d",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 109
  },
  "hsl": {
    "h": 51.429,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89687,
    "c": 0.13601,
    "h": 100
  },
  "luminance": 0.72757
}

Semantic roles & 50–950 ramp

primary
#F2DF6D
secondary
#384DCB
accent
#25E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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