#F2D165#F2D165

#F2D165 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.132 H 92.5°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#F2D165
RGBrgb(242, 209, 101)
HSLhsl(46, 84%, 67%)
HSVhsv(46, 58%, 95%)
CMYKcmyk(0%, 13.6%, 58.3%, 5.1%)
CIE-LABlab(84.70, -0.96, 56.83)
CIE-LCHlch(84.70, 56.84, 90.97°)
OKLaboklab(86.79% -0.0057 0.132)
OKLCHoklch(86.79% 0.132 92.5)
XYZxyz(61.7700, 65.4209, 21.6833)
Luminance0.6542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D165 #6586F2
analogous
#F28A65 #F2D165 #CDF265
triadic
#F2D165 #65F2D1 #D165F2
tetradic
#F2D165 #65F28A #6586F2 #F265CD
square
#F2D165 #65F28A #6586F2 #F265CD
split-complementary
#F2D165 #65CDF2 #8A65F2
monochromatic
#CBA011 #EDC02D #F2D165 #F7E29D #FCF3D6

Accessibility & contrast

On white

1.49
#F2D165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#F2D165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D165
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D165#FFFFFF#000000##000000
##F2D1651.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE5A
Deuteranopia (green-blind)
#EDD86A
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d165;
/* rgb */ color: rgb(242, 209, 101);
/* oklch */ color: oklch(86.8% 0.132 92.5);
Tailwind
colors: {
  custom: {
    50: '#f9de94',
    500: '#f2d165',
    950: '#000000',
  },
}
SCSS
$custom: #f2d165;
$custom-light: #f9de94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d165",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 45.957,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86786,
    "c": 0.13207,
    "h": 92.5
  },
  "luminance": 0.65418
}

Semantic roles & 50–950 ramp

primary
#F2D165
secondary
#3356C8
accent
#38E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D165

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

Preview Lab → · Contrast checker → · Palette generator →

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