#F2D768#F2D768

#F2D768 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.134 H 95.8°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#F2D768
RGBrgb(242, 215, 104)
HSLhsl(48, 84%, 68%)
HSVhsv(48, 57%, 95%)
CMYKcmyk(0%, 11.2%, 57%, 5.1%)
CIE-LABlab(86.25, -3.80, 57.22)
CIE-LCHlch(86.25, 57.35, 93.80°)
OKLaboklab(88.02% -0.0136 0.1332)
OKLCHoklch(88.02% 0.134 95.8)
XYZxyz(63.4196, 68.4805, 22.9715)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D768 #6883F2
analogous
#F29268 #F2D768 #C8F268
triadic
#F2D768 #68F2D7 #D768F2
tetradic
#F2D768 #68F292 #6883F2 #F268C8
square
#F2D768 #68F292 #6883F2 #F268C8
split-complementary
#F2D768 #68C8F2 #9268F2
monochromatic
#CEA912 #EDC830 #F2D768 #F7E6A0 #FCF5D9

Accessibility & contrast

On white

1.43
#F2D768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#F2D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D768
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D768#FFFFFF#000000##000000
##F2D7681.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35D
Deuteranopia (green-blind)
#F1DC6D
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d768;
/* rgb */ color: rgb(242, 215, 104);
/* oklch */ color: oklch(88.0% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#f9e396',
    500: '#f2d768',
    950: '#000000',
  },
}
SCSS
$custom: #f2d768;
$custom-light: #f9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d768",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 48.261,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88018,
    "c": 0.13384,
    "h": 95.8
  },
  "luminance": 0.68478
}

Semantic roles & 50–950 ramp

primary
#F2D768
secondary
#3452CA
accent
#30E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D768

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

Preview Lab → · Contrast checker → · Palette generator →

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