#F2D068#F2D068

#F2D068 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.129 H 91.5°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#F2D068
RGBrgb(242, 208, 104)
HSLhsl(45, 84%, 68%)
HSVhsv(45, 57%, 95%)
CMYKcmyk(0%, 14%, 57%, 5.1%)
CIE-LABlab(84.48, -0.23, 55.19)
CIE-LCHlch(84.48, 55.19, 90.24°)
OKLaboklab(86.62% -0.0033 0.1288)
OKLCHoklch(86.62% 0.129 91.5)
XYZxyz(61.6752, 64.9916, 22.3900)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D068 #688AF2
analogous
#F28B68 #F2D068 #CFF268
triadic
#F2D068 #68F2D0 #D068F2
tetradic
#F2D068 #68F28B #688AF2 #F268CF
square
#F2D068 #68F28B #688AF2 #F268CF
split-complementary
#F2D068 #68CFF2 #8B68F2
monochromatic
#CEA012 #EDBE30 #F2D068 #F7E2A0 #FCF3D9

Accessibility & contrast

On white

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

On black

14.00
#F2D068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D068
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D068#FFFFFF#000000##000000
##F2D0681.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d068;
/* rgb */ color: rgb(242, 208, 104);
/* oklch */ color: oklch(86.6% 0.129 91.5);
Tailwind
colors: {
  custom: {
    50: '#f9de96',
    500: '#f2d068',
    950: '#000000',
  },
}
SCSS
$custom: #f2d068;
$custom-light: #f9de96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d068",
  "rgb": {
    "r": 242,
    "g": 208,
    "b": 104
  },
  "hsl": {
    "h": 45.217,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86622,
    "c": 0.1288,
    "h": 91.5
  },
  "luminance": 0.64988
}

Semantic roles & 50–950 ramp

primary
#F2D068
secondary
#3459CA
accent
#3BE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D068

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

Preview Lab → · Contrast checker → · Palette generator →

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