#F2DC6A#F2DC6A

#F2DC6A is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.136 H 98.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F2DC6A
RGBrgb(242, 220, 106)
HSLhsl(50, 84%, 68%)
HSVhsv(50, 56%, 95%)
CMYKcmyk(0%, 9.1%, 56.2%, 5.1%)
CIE-LABlab(87.54, -6.18, 57.79)
CIE-LCHlch(87.54, 58.12, 96.11°)
OKLaboklab(89.05% -0.0202 0.1346)
OKLCHoklch(89.05% 0.136 98.5)
XYZxyz(64.8151, 71.1069, 23.9438)
Luminance0.7110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC6A #6A80F2
analogous
#F2986A #F2DC6A #C4F26A
triadic
#F2DC6A #6AF2DC #DC6AF2
tetradic
#F2DC6A #6AF298 #6A80F2 #F26AC4
square
#F2DC6A #6AF298 #6A80F2 #F26AC4
split-complementary
#F2DC6A #6AC4F2 #986AF2
monochromatic
#CFB112 #EDCF32 #F2DC6A #F7E9A2 #FCF6DB

Accessibility & contrast

On white

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

On black

15.22
#F2DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC6A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC6A#FFFFFF#000000##000000
##F2DC6A1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2dc6a;
/* rgb */ color: rgb(242, 220, 106);
/* oklch */ color: oklch(89.0% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#f9e698',
    500: '#f2dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc6a;
$custom-light: #f9e698;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc6a",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 50.294,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89046,
    "c": 0.13611,
    "h": 98.5
  },
  "luminance": 0.71104
}

Semantic roles & 50–950 ramp

primary
#F2DC6A
secondary
#364ECB
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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