#F2DC6D#F2DC6D

#F2DC6D is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.133 H 98.3°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#F2DC6D
RGBrgb(242, 220, 109)
HSLhsl(50, 84%, 69%)
HSVhsv(50, 55%, 95%)
CMYKcmyk(0%, 9.1%, 55%, 5.1%)
CIE-LABlab(87.57, -5.96, 56.46)
CIE-LCHlch(87.57, 56.77, 96.02°)
OKLaboklab(89.08% -0.0192 0.132)
OKLCHoklch(89.08% 0.133 98.3)
XYZxyz(64.9738, 71.1704, 24.7798)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC6D #6D83F2
analogous
#F29A6D #F2DC6D #C6F26D
triadic
#F2DC6D #6DF2DC #DC6DF2
tetradic
#F2DC6D #6DF29A #6D83F2 #F26DC6
square
#F2DC6D #6DF29A #6D83F2 #F26DC6
split-complementary
#F2DC6D #6DC6F2 #9A6DF2
monochromatic
#D2B213 #EDCF35 #F2DC6D #F7E9A5 #FCF7DD

Accessibility & contrast

On white

1.38
#F2DC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#F2DC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC6D
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC6D#FFFFFF#000000##000000
##F2DC6D1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED762
Deuteranopia (green-blind)
#F4DF72
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc6d;
/* rgb */ color: rgb(242, 220, 109);
/* oklch */ color: oklch(89.1% 0.133 98.3);
Tailwind
colors: {
  custom: {
    50: '#f9e69a',
    500: '#f2dc6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc6d;
$custom-light: #f9e69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc6d",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 109
  },
  "hsl": {
    "h": 50.075,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8908,
    "c": 0.13343,
    "h": 98.3
  },
  "luminance": 0.71168
}

Semantic roles & 50–950 ramp

primary
#F2DC6D
secondary
#3850CB
accent
#2AE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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