#F2EF5D#F2EF5D

#F2EF5D is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.8% C 0.164 H 108.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F2EF5D
RGBrgb(242, 239, 93)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 62%, 95%)
CMYKcmyk(0%, 1.2%, 61.6%, 5.1%)
CIE-LABlab(92.31, -16.48, 68.66)
CIE-LCHlch(92.31, 70.61, 103.50°)
OKLaboklab(92.8% -0.051 0.1561)
OKLCHoklch(92.8% 0.164 108.1)
XYZxyz(69.4625, 81.4026, 22.4070)
Luminance0.8140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF5D #5D60F2
analogous
#F2A45D #F2EF5D #AAF25D
triadic
#F2EF5D #5DF2EF #EF5DF2
tetradic
#F2EF5D #5DF2A4 #5D60F2 #F25DAA
square
#F2EF5D #5DF2A4 #5D60F2 #F25DAA
split-complementary
#F2EF5D #5DAAF2 #A45DF2
monochromatic
#C5C110 #EDE924 #F2EF5D #F7F596 #FBFACE

Accessibility & contrast

On white

1.22
#F2EF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F2EF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF5D
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF5D#FFFFFF#000000##000000
##F2EF5D1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64B
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef5d;
/* rgb */ color: rgb(242, 239, 93);
/* oklch */ color: oklch(92.8% 0.164 108.1);
Tailwind
colors: {
  custom: {
    50: '#faf491',
    500: '#f2ef5d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef5d;
$custom-light: #faf491;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef5d",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 93
  },
  "hsl": {
    "h": 58.792,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92803,
    "c": 0.16425,
    "h": 108.1
  },
  "luminance": 0.81401
}

Semantic roles & 50–950 ramp

primary
#F2EF5D
secondary
#3134C2
accent
#08E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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