#F2EC6D#F2EC6D

#F2EC6D is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.3% C 0.148 H 106.5°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F2EC6D
RGBrgb(242, 236, 109)
HSLhsl(57, 84%, 69%)
HSVhsv(57, 55%, 95%)
CMYKcmyk(0%, 2.5%, 55%, 5.1%)
CIE-LABlab(91.67, -13.92, 61.17)
CIE-LCHlch(91.67, 62.74, 102.82°)
OKLaboklab(92.34% -0.042 0.1422)
OKLCHoklch(92.34% 0.148 106.5)
XYZxyz(69.3758, 79.9744, 26.2471)
Luminance0.7997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC6D #6D73F2
analogous
#F2AA6D #F2EC6D #B6F26D
triadic
#F2EC6D #6DF2EC #EC6DF2
tetradic
#F2EC6D #6DF2AA #6D73F2 #F26DB6
square
#F2EC6D #6DF2AA #6D73F2 #F26DB6
split-complementary
#F2EC6D #6DB6F2 #AA6DF2
monochromatic
#D2C913 #EDE535 #F2EC6D #F7F3A5 #FCFBDD

Accessibility & contrast

On white

1.24
#F2EC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F2EC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC6D
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC6D#FFFFFF#000000##000000
##F2EC6D1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE460
Deuteranopia (green-blind)
#FFEA74
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec6d;
/* rgb */ color: rgb(242, 236, 109);
/* oklch */ color: oklch(92.3% 0.148 106.5);
Tailwind
colors: {
  custom: {
    50: '#f9f19b',
    500: '#f2ec6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec6d;
$custom-light: #f9f19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec6d",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 109
  },
  "hsl": {
    "h": 57.293,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9234,
    "c": 0.14828,
    "h": 106.5
  },
  "luminance": 0.79972
}

Semantic roles & 50–950 ramp

primary
#F2EC6D
secondary
#383FCB
accent
#0FE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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