#F2E45E#F2E45E

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

Color values

HEX#F2E45E
RGBrgb(242, 228, 94)
HSLhsl(54, 85%, 66%)
HSVhsv(54, 61%, 95%)
CMYKcmyk(0%, 5.8%, 61.2%, 5.1%)
CIE-LABlab(89.47, -11.01, 65.21)
CIE-LCHlch(89.47, 66.13, 99.59°)
OKLaboklab(90.55% -0.0354 0.149)
OKLCHoklch(90.55% 0.153 103.4)
XYZxyz(66.3842, 75.1747, 21.6009)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E45E #5E6CF2
analogous
#F29A5E #F2E45E #B6F25E
triadic
#F2E45E #5EF2E4 #E45EF2
tetradic
#F2E45E #5EF29A #5E6CF2 #F25EB6
square
#F2E45E #5EF29A #5E6CF2 #F25EB6
split-complementary
#F2E45E #5EB6F2 #9A5EF2
monochromatic
#C6B410 #EDDB25 #F2E45E #F7ED97 #FBF7CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E45E#FFFFFF#000000##000000
##F2E45E1.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)
#F7DD4E
Deuteranopia (green-blind)
#FBE465
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e45e;
/* rgb */ color: rgb(242, 228, 94);
/* oklch */ color: oklch(90.5% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#f9ec91',
    500: '#f2e45e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e45e;
$custom-light: #f9ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e45e",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 54.324,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90548,
    "c": 0.15309,
    "h": 103.4
  },
  "luminance": 0.75172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E45E

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

Preview Lab → · Contrast checker → · Palette generator →

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