#F2DF6A#F2DF6A

#F2DF6A is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.139 H 100.2°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#F2DF6A
RGBrgb(242, 223, 106)
HSLhsl(52, 84%, 68%)
HSVhsv(52, 56%, 95%)
CMYKcmyk(0%, 7.9%, 56.2%, 5.1%)
CIE-LABlab(88.30, -7.69, 58.67)
CIE-LCHlch(88.30, 59.17, 97.47°)
OKLaboklab(89.65% -0.0245 0.1365)
OKLCHoklch(89.65% 0.139 100.2)
XYZxyz(65.6095, 72.6958, 24.2086)
Luminance0.7269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF6A #6A7DF2
analogous
#F29B6A #F2DF6A #C1F26A
triadic
#F2DF6A #6AF2DF #DF6AF2
tetradic
#F2DF6A #6AF29B #6A7DF2 #F26AC1
square
#F2DF6A #6AF29B #6A7DF2 #F26AC1
split-complementary
#F2DF6A #6AC1F2 #9B6AF2
monochromatic
#CFB512 #EDD332 #F2DF6A #F7EBA2 #FCF7DB

Accessibility & contrast

On white

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

On black

15.54
#F2DF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF6A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF6A#FFFFFF#000000##000000
##F2DF6A1.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2df6a;
/* rgb */ color: rgb(242, 223, 106);
/* oklch */ color: oklch(89.7% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#f9e898',
    500: '#f2df6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2df6a;
$custom-light: #f9e898;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df6a",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 51.618,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89653,
    "c": 0.13867,
    "h": 100.2
  },
  "luminance": 0.72693
}

Semantic roles & 50–950 ramp

primary
#F2DF6A
secondary
#364ACB
accent
#24E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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