#F2DF6F#F2DF6F

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

Color values

HEX#F2DF6F
RGBrgb(242, 223, 111)
HSLhsl(51, 83%, 69%)
HSVhsv(51, 54%, 95%)
CMYKcmyk(0%, 7.9%, 54.1%, 5.1%)
CIE-LABlab(88.35, -7.31, 56.45)
CIE-LCHlch(88.35, 56.92, 97.38°)
OKLaboklab(89.71% -0.0229 0.1322)
OKLCHoklch(89.71% 0.134 99.8)
XYZxyz(65.8771, 72.8028, 25.6181)
Luminance0.7280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF6F #6F82F2
analogous
#F29E6F #F2DF6F #C3F26F
triadic
#F2DF6F #6FF2DF #DF6FF2
tetradic
#F2DF6F #6FF29E #6F82F2 #F26FC3
square
#F2DF6F #6FF29E #6F82F2 #F26FC3
split-complementary
#F2DF6F #6FC3F2 #9E6FF2
monochromatic
#D4B813 #EDD337 #F2DF6F #F7EBA7 #FCF8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DF6F#FFFFFF#000000##000000
##F2DF6F1.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)
#F1DA64
Deuteranopia (green-blind)
#F6E174
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df6f;
/* rgb */ color: rgb(242, 223, 111);
/* oklch */ color: oklch(89.7% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#f9e89b',
    500: '#f2df6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2df6f;
$custom-light: #f9e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df6f",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 51.298,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8971,
    "c": 0.1342,
    "h": 99.8
  },
  "luminance": 0.728
}

Semantic roles & 50–950 ramp

primary
#F2DF6F
secondary
#3A4FCB
accent
#25E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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