#F2D062#F2D062

#F2D062 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.6% C 0.134 H 92.2°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#F2D062
RGBrgb(242, 208, 98)
HSLhsl(46, 85%, 67%)
HSVhsv(46, 60%, 95%)
CMYKcmyk(0%, 14%, 59.5%, 5.1%)
CIE-LABlab(84.42, -0.66, 57.87)
CIE-LCHlch(84.42, 57.88, 90.65°)
OKLaboklab(86.55% -0.0052 0.1338)
OKLCHoklch(86.55% 0.134 92.2)
XYZxyz(61.3812, 64.8740, 20.8417)
Luminance0.6487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D062 #6284F2
analogous
#F28862 #F2D062 #CCF262
triadic
#F2D062 #62F2D0 #D062F2
tetradic
#F2D062 #62F288 #6284F2 #F262CC
square
#F2D062 #62F288 #6284F2 #F262CC
split-complementary
#F2D062 #62CCF2 #8862F2
monochromatic
#C99D11 #EDBF29 #F2D062 #F7E19B #FBF2D3

Accessibility & contrast

On white

1.50
#F2D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#F2D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D062
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D062#FFFFFF#000000##000000
##F2D0621.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d062;
/* rgb */ color: rgb(242, 208, 98);
/* oklch */ color: oklch(86.6% 0.134 92.2);
Tailwind
colors: {
  custom: {
    50: '#f9de92',
    500: '#f2d062',
    950: '#000000',
  },
}
SCSS
$custom: #f2d062;
$custom-light: #f9de92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d062",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 45.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86554,
    "c": 0.13394,
    "h": 92.2
  },
  "luminance": 0.64871
}

Semantic roles & 50–950 ramp

primary
#F2D062
secondary
#3355C6
accent
#38E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D062

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

Preview Lab → · Contrast checker → · Palette generator →

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