#F2DD6F#F2DD6F

#F2DD6F is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.132 H 98.7°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#F2DD6F
RGBrgb(242, 221, 111)
HSLhsl(50, 83%, 69%)
HSVhsv(50, 54%, 95%)
CMYKcmyk(0%, 8.7%, 54.1%, 5.1%)
CIE-LABlab(87.84, -6.31, 55.86)
CIE-LCHlch(87.84, 56.21, 96.44°)
OKLaboklab(89.31% -0.02 0.1309)
OKLCHoklch(89.31% 0.132 98.7)
XYZxyz(65.3459, 71.7405, 25.4411)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD6F #6F84F2
analogous
#F29C6F #F2DD6F #C5F26F
triadic
#F2DD6F #6FF2DD #DD6FF2
tetradic
#F2DD6F #6FF29C #6F84F2 #F26FC5
square
#F2DD6F #6FF29C #6F84F2 #F26FC5
split-complementary
#F2DD6F #6FC5F2 #9C6FF2
monochromatic
#D4B513 #EDD037 #F2DD6F #F7EAA7 #FCF8DF

Accessibility & contrast

On white

1.37
#F2DD6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#F2DD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD6F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD6F#FFFFFF#000000##000000
##F2DD6F1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F5E074
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd6f;
/* rgb */ color: rgb(242, 221, 111);
/* oklch */ color: oklch(89.3% 0.132 98.7);
Tailwind
colors: {
  custom: {
    50: '#f9e79b',
    500: '#f2dd6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd6f;
$custom-light: #f9e79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd6f",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 111
  },
  "hsl": {
    "h": 50.382,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89306,
    "c": 0.13246,
    "h": 98.7
  },
  "luminance": 0.71738
}

Semantic roles & 50–950 ramp

primary
#F2DD6F
secondary
#3A51CB
accent
#29E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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