#F2D665#F2D665

#F2D665 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.136 H 95.5°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#F2D665
RGBrgb(242, 214, 101)
HSLhsl(48, 84%, 67%)
HSVhsv(48, 58%, 95%)
CMYKcmyk(0%, 11.6%, 58.3%, 5.1%)
CIE-LABlab(85.96, -3.51, 58.26)
CIE-LCHlch(85.96, 58.37, 93.44°)
OKLaboklab(87.78% -0.0131 0.135)
OKLCHoklch(87.78% 0.136 95.5)
XYZxyz(63.0161, 67.9129, 22.0986)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D665 #6581F2
analogous
#F29065 #F2D665 #C8F265
triadic
#F2D665 #65F2D6 #D665F2
tetradic
#F2D665 #65F290 #6581F2 #F265C8
square
#F2D665 #65F290 #6581F2 #F265C8
split-complementary
#F2D665 #65C8F2 #9065F2
monochromatic
#CBA611 #EDC72D #F2D665 #F7E59D #FCF4D6

Accessibility & contrast

On white

1.44
#F2D665 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#F2D665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D665
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D665#FFFFFF#000000##000000
##F2D6651.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25A
Deuteranopia (green-blind)
#F0DB6A
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d665;
/* rgb */ color: rgb(242, 214, 101);
/* oklch */ color: oklch(87.8% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#f9e294',
    500: '#f2d665',
    950: '#000000',
  },
}
SCSS
$custom: #f2d665;
$custom-light: #f9e294;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d665",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 101
  },
  "hsl": {
    "h": 48.085,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87784,
    "c": 0.13566,
    "h": 95.5
  },
  "luminance": 0.6791
}

Semantic roles & 50–950 ramp

primary
#F2D665
secondary
#3351C8
accent
#30E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D665

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

Preview Lab → · Contrast checker → · Palette generator →

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