#F2D362#F2D362

#F2D362 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.2% C 0.136 H 94.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F2D362
RGBrgb(242, 211, 98)
HSLhsl(47, 85%, 67%)
HSVhsv(47, 60%, 95%)
CMYKcmyk(0%, 12.8%, 59.5%, 5.1%)
CIE-LABlab(85.17, -2.19, 58.73)
CIE-LCHlch(85.17, 58.77, 92.13°)
OKLaboklab(87.15% -0.0096 0.1357)
OKLCHoklch(87.15% 0.136 94.1)
XYZxyz(62.1195, 66.3507, 21.0878)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D362 #6281F2
analogous
#F28B62 #F2D362 #C9F262
triadic
#F2D362 #62F2D3 #D362F2
tetradic
#F2D362 #62F28B #6281F2 #F262C9
square
#F2D362 #62F28B #6281F2 #F262C9
split-complementary
#F2D362 #62C9F2 #8B62F2
monochromatic
#C9A111 #EDC329 #F2D362 #F7E39B #FBF3D3

Accessibility & contrast

On white

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

On black

14.27
#F2D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D362
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D362#FFFFFF#000000##000000
##F2D3621.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d362;
/* rgb */ color: rgb(242, 211, 98);
/* oklch */ color: oklch(87.2% 0.136 94.1);
Tailwind
colors: {
  custom: {
    50: '#f9e092',
    500: '#f2d362',
    950: '#000000',
  },
}
SCSS
$custom: #f2d362;
$custom-light: #f9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d362",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 47.083,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87152,
    "c": 0.136,
    "h": 94.1
  },
  "luminance": 0.66348
}

Semantic roles & 50–950 ramp

primary
#F2D362
secondary
#3352C6
accent
#34E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D362

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

Preview Lab → · Contrast checker → · Palette generator →

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