#F2EB6D#F2EB6D

#F2EB6D is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.1% C 0.147 H 106.0°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F2EB6D
RGBrgb(242, 235, 109)
HSLhsl(57, 84%, 69%)
HSVhsv(57, 55%, 95%)
CMYKcmyk(0%, 2.9%, 55%, 5.1%)
CIE-LABlab(91.42, -13.43, 60.88)
CIE-LCHlch(91.42, 62.34, 102.44°)
OKLaboklab(92.14% -0.0406 0.1416)
OKLCHoklch(92.14% 0.147 106)
XYZxyz(69.0887, 79.4002, 26.1514)
Luminance0.7940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB6D #6D74F2
analogous
#F2A96D #F2EB6D #B7F26D
triadic
#F2EB6D #6DF2EB #EB6DF2
tetradic
#F2EB6D #6DF2A9 #6D74F2 #F26DB7
square
#F2EB6D #6DF2A9 #6D74F2 #F26DB7
split-complementary
#F2EB6D #6DB7F2 #A96DF2
monochromatic
#D2C813 #EDE335 #F2EB6D #F7F3A5 #FCFADD

Accessibility & contrast

On white

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

On black

16.88
#F2EB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB6D
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB6D#FFFFFF#000000##000000
##F2EB6D1.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE360
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb6d;
/* rgb */ color: rgb(242, 235, 109);
/* oklch */ color: oklch(92.1% 0.147 106.0);
Tailwind
colors: {
  custom: {
    50: '#f9f19b',
    500: '#f2eb6d',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb6d;
$custom-light: #f9f19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb6d",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 109
  },
  "hsl": {
    "h": 56.842,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92135,
    "c": 0.14728,
    "h": 106
  },
  "luminance": 0.79398
}

Semantic roles & 50–950 ramp

primary
#F2EB6D
secondary
#3840CB
accent
#11E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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