#F2D865#F2D865

#F2D865 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.137 H 96.7°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#F2D865
RGBrgb(242, 216, 101)
HSLhsl(49, 84%, 67%)
HSVhsv(49, 58%, 95%)
CMYKcmyk(0%, 10.7%, 58.3%, 5.1%)
CIE-LABlab(86.47, -4.52, 58.84)
CIE-LCHlch(86.47, 59.01, 94.40°)
OKLaboklab(88.19% -0.016 0.1363)
OKLCHoklch(88.19% 0.137 96.7)
XYZxyz(63.5253, 68.9314, 22.2684)
Luminance0.6893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D865 #657FF2
analogous
#F29165 #F2D865 #C6F265
triadic
#F2D865 #65F2D8 #D865F2
tetradic
#F2D865 #65F291 #657FF2 #F265C6
square
#F2D865 #65F291 #657FF2 #F265C6
split-complementary
#F2D865 #65C6F2 #9165F2
monochromatic
#CBA911 #EDCA2D #F2D865 #F7E69D #FCF5D6

Accessibility & contrast

On white

1.42
#F2D865 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#F2D865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D865
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D865#FFFFFF#000000##000000
##F2D8651.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD359
Deuteranopia (green-blind)
#F2DC6A
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d865;
/* rgb */ color: rgb(242, 216, 101);
/* oklch */ color: oklch(88.2% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#f9e394',
    500: '#f2d865',
    950: '#000000',
  },
}
SCSS
$custom: #f2d865;
$custom-light: #f9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d865",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 48.936,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88185,
    "c": 0.13721,
    "h": 96.7
  },
  "luminance": 0.68929
}

Semantic roles & 50–950 ramp

primary
#F2D865
secondary
#334FC8
accent
#2DE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D865

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

Preview Lab → · Contrast checker → · Palette generator →

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