#F2DB64#F2DB64

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

Color values

HEX#F2DB64
RGBrgb(242, 219, 100)
HSLhsl(50, 85%, 67%)
HSVhsv(50, 59%, 95%)
CMYKcmyk(0%, 9.5%, 58.7%, 5.1%)
CIE-LABlab(87.22, -6.11, 60.13)
CIE-LCHlch(87.22, 60.44, 95.80°)
OKLaboklab(88.78% -0.0207 0.1389)
OKLCHoklch(88.78% 0.14 98.5)
XYZxyz(64.2522, 70.4631, 22.2704)
Luminance0.7046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB64 #647BF2
analogous
#F29464 #F2DB64 #C2F264
triadic
#F2DB64 #64F2DB #DB64F2
tetradic
#F2DB64 #64F294 #647BF2 #F264C2
square
#F2DB64 #64F294 #647BF2 #F264C2
split-complementary
#F2DB64 #64C2F2 #9464F2
monochromatic
#CBAD11 #EDCE2C #F2DB64 #F7E89C #FBF5D5

Accessibility & contrast

On white

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

On black

15.09
#F2DB64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB64
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB64#FFFFFF#000000##000000
##F2DB641.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED658
Deuteranopia (green-blind)
#F4DE6A
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2db64;
/* rgb */ color: rgb(242, 219, 100);
/* oklch */ color: oklch(88.8% 0.140 98.5);
Tailwind
colors: {
  custom: {
    50: '#f9e594',
    500: '#f2db64',
    950: '#000000',
  },
}
SCSS
$custom: #f2db64;
$custom-light: #f9e594;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db64",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 100
  },
  "hsl": {
    "h": 50.282,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88779,
    "c": 0.14045,
    "h": 98.5
  },
  "luminance": 0.7046
}

Semantic roles & 50–950 ramp

primary
#F2DB64
secondary
#334BC7
accent
#28E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DB64

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

Preview Lab → · Contrast checker → · Palette generator →

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