#F2DB60#F2DB60

#F2DB60 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.144 H 98.8°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F2DB60
RGBrgb(242, 219, 96)
HSLhsl(51, 85%, 66%)
HSVhsv(51, 60%, 95%)
CMYKcmyk(0%, 9.5%, 60.3%, 5.1%)
CIE-LABlab(87.19, -6.38, 61.85)
CIE-LCHlch(87.19, 62.18, 95.89°)
OKLaboklab(88.74% -0.0219 0.1421)
OKLCHoklch(88.74% 0.144 98.8)
XYZxyz(64.0634, 70.3876, 21.2757)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB60 #6077F2
analogous
#F29260 #F2DB60 #C0F260
triadic
#F2DB60 #60F2DB #DB60F2
tetradic
#F2DB60 #60F292 #6077F2 #F260C0
square
#F2DB60 #60F292 #6077F2 #F260C0
split-complementary
#F2DB60 #60C0F2 #9260F2
monochromatic
#C7AA10 #EDCE27 #F2DB60 #F7E899 #FBF5D1

Accessibility & contrast

On white

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

On black

15.08
#F2DB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB60
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB60#FFFFFF#000000##000000
##F2DB601.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED653
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2db60;
/* rgb */ color: rgb(242, 219, 96);
/* oklch */ color: oklch(88.7% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#f9e592',
    500: '#f2db60',
    950: '#000000',
  },
}
SCSS
$custom: #f2db60;
$custom-light: #f9e592;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db60",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 96
  },
  "hsl": {
    "h": 50.548,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88738,
    "c": 0.14376,
    "h": 98.8
  },
  "luminance": 0.70385
}

Semantic roles & 50–950 ramp

primary
#F2DB60
secondary
#3249C4
accent
#27E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DB60

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

Preview Lab → · Contrast checker → · Palette generator →

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