#F2D265#F2D265

#F2D265 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.133 H 93.1°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#F2D265
RGBrgb(242, 210, 101)
HSLhsl(46, 84%, 67%)
HSVhsv(46, 58%, 95%)
CMYKcmyk(0%, 13.2%, 58.3%, 5.1%)
CIE-LABlab(84.95, -1.47, 57.11)
CIE-LCHlch(84.95, 57.13, 91.47°)
OKLaboklab(86.99% -0.0072 0.1326)
OKLCHoklch(86.99% 0.133 93.1)
XYZxyz(62.0162, 65.9131, 21.7653)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D265 #6585F2
analogous
#F28C65 #F2D265 #CCF265
triadic
#F2D265 #65F2D2 #D265F2
tetradic
#F2D265 #65F28C #6585F2 #F265CC
square
#F2D265 #65F28C #6585F2 #F265CC
split-complementary
#F2D265 #65CCF2 #8C65F2
monochromatic
#CBA111 #EDC22D #F2D265 #F7E29D #FCF3D6

Accessibility & contrast

On white

1.48
#F2D265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#F2D265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D265
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D265#FFFFFF#000000##000000
##F2D2651.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF5A
Deuteranopia (green-blind)
#EED86A
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d265;
/* rgb */ color: rgb(242, 210, 101);
/* oklch */ color: oklch(87.0% 0.133 93.1);
Tailwind
colors: {
  custom: {
    50: '#f9df94',
    500: '#f2d265',
    950: '#000000',
  },
}
SCSS
$custom: #f2d265;
$custom-light: #f9df94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d265",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 101
  },
  "hsl": {
    "h": 46.383,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86985,
    "c": 0.13277,
    "h": 93.1
  },
  "luminance": 0.6591
}

Semantic roles & 50–950 ramp

primary
#F2D265
secondary
#3355C8
accent
#37E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D265

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

Preview Lab → · Contrast checker → · Palette generator →

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