#F2DB68#F2DB68

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

Color values

HEX#F2DB68
RGBrgb(242, 219, 104)
HSLhsl(50, 84%, 68%)
HSVhsv(50, 57%, 95%)
CMYKcmyk(0%, 9.5%, 57%, 5.1%)
CIE-LABlab(87.26, -5.82, 58.39)
CIE-LCHlch(87.26, 58.68, 95.70°)
OKLaboklab(88.82% -0.0194 0.1357)
OKLCHoklch(88.82% 0.137 98.1)
XYZxyz(64.4506, 70.5425, 23.3152)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB68 #687FF2
analogous
#F29668 #F2DB68 #C4F268
triadic
#F2DB68 #68F2DB #DB68F2
tetradic
#F2DB68 #68F296 #687FF2 #F268C4
square
#F2DB68 #68F296 #687FF2 #F268C4
split-complementary
#F2DB68 #68C4F2 #9668F2
monochromatic
#CEAF12 #EDCE30 #F2DB68 #F7E8A0 #FCF6D9

Accessibility & contrast

On white

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

On black

15.11
#F2DB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB68
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB68#FFFFFF#000000##000000
##F2DB681.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2db68;
/* rgb */ color: rgb(242, 219, 104);
/* oklch */ color: oklch(88.8% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#f9e597',
    500: '#f2db68',
    950: '#000000',
  },
}
SCSS
$custom: #f2db68;
$custom-light: #f9e597;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db68",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 104
  },
  "hsl": {
    "h": 50,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88822,
    "c": 0.13703,
    "h": 98.1
  },
  "luminance": 0.7054
}

Semantic roles & 50–950 ramp

primary
#F2DB68
secondary
#344DCA
accent
#2AE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DB68

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

Preview Lab → · Contrast checker → · Palette generator →

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