#F2DB66#F2DB66

#F2DB66 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.8% C 0.139 H 98.3°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F2DB66
RGBrgb(242, 219, 102)
HSLhsl(50, 84%, 67%)
HSVhsv(50, 58%, 95%)
CMYKcmyk(0%, 9.5%, 57.9%, 5.1%)
CIE-LABlab(87.24, -5.97, 59.26)
CIE-LCHlch(87.24, 59.56, 95.75°)
OKLaboklab(88.8% -0.02 0.1373)
OKLCHoklch(88.8% 0.139 98.3)
XYZxyz(64.3502, 70.5023, 22.7865)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB66 #667DF2
analogous
#F29566 #F2DB66 #C3F266
triadic
#F2DB66 #66F2DB #DB66F2
tetradic
#F2DB66 #66F295 #667DF2 #F266C3
square
#F2DB66 #66F295 #667DF2 #F266C3
split-complementary
#F2DB66 #66C3F2 #9566F2
monochromatic
#CCAE11 #EDCE2E #F2DB66 #F7E89E #FCF6D7

Accessibility & contrast

On white

1.39
#F2DB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F2DB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB66
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB66#FFFFFF#000000##000000
##F2DB661.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65A
Deuteranopia (green-blind)
#F4DE6C
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db66;
/* rgb */ color: rgb(242, 219, 102);
/* oklch */ color: oklch(88.8% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#f9e595',
    500: '#f2db66',
    950: '#000000',
  },
}
SCSS
$custom: #f2db66;
$custom-light: #f9e595;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db66",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 102
  },
  "hsl": {
    "h": 50.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.888,
    "c": 0.13876,
    "h": 98.3
  },
  "luminance": 0.705
}

Semantic roles & 50–950 ramp

primary
#F2DB66
secondary
#344CC9
accent
#29E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB66

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

Preview Lab → · Contrast checker → · Palette generator →

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