#F2D565#F2D565

#F2D565 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.135 H 94.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#F2D565
RGBrgb(242, 213, 101)
HSLhsl(48, 84%, 67%)
HSVhsv(48, 58%, 95%)
CMYKcmyk(0%, 12%, 58.3%, 5.1%)
CIE-LABlab(85.71, -3.00, 57.98)
CIE-LCHlch(85.71, 58.05, 92.96°)
OKLaboklab(87.58% -0.0116 0.1344)
OKLCHoklch(87.58% 0.135 94.9)
XYZxyz(62.7638, 67.4083, 22.0145)
Luminance0.6741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D565 #6582F2
analogous
#F28F65 #F2D565 #C8F265
triadic
#F2D565 #65F2D5 #D565F2
tetradic
#F2D565 #65F28F #6582F2 #F265C8
square
#F2D565 #65F28F #6582F2 #F265C8
split-complementary
#F2D565 #65C8F2 #8F65F2
monochromatic
#CBA511 #EDC62D #F2D565 #F7E49D #FCF4D6

Accessibility & contrast

On white

1.45
#F2D565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#F2D565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D565
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D565#FFFFFF#000000##000000
##F2D5651.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15A
Deuteranopia (green-blind)
#F0DA6A
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d565;
/* rgb */ color: rgb(242, 213, 101);
/* oklch */ color: oklch(87.6% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f9e194',
    500: '#f2d565',
    950: '#000000',
  },
}
SCSS
$custom: #f2d565;
$custom-light: #f9e194;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d565",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 47.66,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87584,
    "c": 0.13492,
    "h": 94.9
  },
  "luminance": 0.67405
}

Semantic roles & 50–950 ramp

primary
#F2D565
secondary
#3352C8
accent
#32E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D565

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

Preview Lab → · Contrast checker → · Palette generator →

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