#F2D364#F2D364

#F2D364 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.134 H 93.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F2D364
RGBrgb(242, 211, 100)
HSLhsl(47, 85%, 67%)
HSVhsv(47, 59%, 95%)
CMYKcmyk(0%, 12.8%, 58.7%, 5.1%)
CIE-LABlab(85.19, -2.05, 57.84)
CIE-LCHlch(85.19, 57.88, 92.03°)
OKLaboklab(87.17% -0.009 0.134)
OKLCHoklch(87.17% 0.134 93.8)
XYZxyz(62.2151, 66.3889, 21.5914)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D364 #6483F2
analogous
#F28C64 #F2D364 #CAF264
triadic
#F2D364 #64F2D3 #D364F2
tetradic
#F2D364 #64F28C #6483F2 #F264CA
square
#F2D364 #64F28C #6483F2 #F264CA
split-complementary
#F2D364 #64CAF2 #8C64F2
monochromatic
#CBA211 #EDC32C #F2D364 #F7E39C #FBF3D5

Accessibility & contrast

On white

1.47
#F2D364 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#F2D364 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D364
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D364#FFFFFF#000000##000000
##F2D3641.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF59
Deuteranopia (green-blind)
#EED969
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d364;
/* rgb */ color: rgb(242, 211, 100);
/* oklch */ color: oklch(87.2% 0.134 93.8);
Tailwind
colors: {
  custom: {
    50: '#f9e094',
    500: '#f2d364',
    950: '#000000',
  },
}
SCSS
$custom: #f2d364;
$custom-light: #f9e094;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d364",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 100
  },
  "hsl": {
    "h": 46.901,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87173,
    "c": 0.13432,
    "h": 93.8
  },
  "luminance": 0.66386
}

Semantic roles & 50–950 ramp

primary
#F2D364
secondary
#3353C7
accent
#35E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D364

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

Preview Lab → · Contrast checker → · Palette generator →

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