#F2E45D#F2E45D

#F2E45D is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.5% C 0.154 H 103.4°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F2E45D
RGBrgb(242, 228, 93)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 62%, 95%)
CMYKcmyk(0%, 5.8%, 61.6%, 5.1%)
CIE-LABlab(89.47, -11.08, 65.62)
CIE-LCHlch(89.47, 66.55, 99.58°)
OKLaboklab(90.54% -0.0357 0.1497)
OKLCHoklch(90.54% 0.154 103.4)
XYZxyz(66.3396, 75.1569, 21.3661)
Luminance0.7515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E45D #5D6BF2
analogous
#F2995D #F2E45D #B6F25D
triadic
#F2E45D #5DF2E4 #E45DF2
tetradic
#F2E45D #5DF299 #5D6BF2 #F25DB6
square
#F2E45D #5DF299 #5D6BF2 #F25DB6
split-complementary
#F2E45D #5DB6F2 #995DF2
monochromatic
#C5B410 #EDDB24 #F2E45D #F7ED96 #FBF7CE

Accessibility & contrast

On white

1.31
#F2E45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#F2E45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E45D
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E45D#FFFFFF#000000##000000
##F2E45D1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4D
Deuteranopia (green-blind)
#FBE465
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e45d;
/* rgb */ color: rgb(242, 228, 93);
/* oklch */ color: oklch(90.5% 0.154 103.4);
Tailwind
colors: {
  custom: {
    50: '#faec90',
    500: '#f2e45d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e45d;
$custom-light: #faec90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e45d",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 93
  },
  "hsl": {
    "h": 54.362,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90539,
    "c": 0.15387,
    "h": 103.4
  },
  "luminance": 0.75154
}

Semantic roles & 50–950 ramp

primary
#F2E45D
secondary
#313FC2
accent
#19E204
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E45D

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

Preview Lab → · Contrast checker → · Palette generator →

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