#F2DC65#F2DC65

#F2DC65 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.140 H 98.9°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#F2DC65
RGBrgb(242, 220, 101)
HSLhsl(51, 84%, 67%)
HSVhsv(51, 58%, 95%)
CMYKcmyk(0%, 9.1%, 58.3%, 5.1%)
CIE-LABlab(87.49, -6.54, 59.99)
CIE-LCHlch(87.49, 60.34, 96.22°)
OKLaboklab(88.99% -0.0218 0.1387)
OKLCHoklch(88.99% 0.14 98.9)
XYZxyz(64.5626, 71.0060, 22.6141)
Luminance0.7100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC65 #657BF2
analogous
#F29565 #F2DC65 #C2F265
triadic
#F2DC65 #65F2DC #DC65F2
tetradic
#F2DC65 #65F295 #657BF2 #F265C2
square
#F2DC65 #65F295 #657BF2 #F265C2
split-complementary
#F2DC65 #65C2F2 #9565F2
monochromatic
#CBAE11 #EDCF2D #F2DC65 #F7E99D #FCF6D6

Accessibility & contrast

On white

1.38
#F2DC65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#F2DC65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC65
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC65#FFFFFF#000000##000000
##F2DC651.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc65;
/* rgb */ color: rgb(242, 220, 101);
/* oklch */ color: oklch(89.0% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#f9e695',
    500: '#f2dc65',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc65;
$custom-light: #f9e695;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc65",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 101
  },
  "hsl": {
    "h": 50.638,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88991,
    "c": 0.14044,
    "h": 98.9
  },
  "luminance": 0.71003
}

Semantic roles & 50–950 ramp

primary
#F2DC65
secondary
#334BC8
accent
#27E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2DC65

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

Preview Lab → · Contrast checker → · Palette generator →

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