#F2E043#F2E043

#F2E043 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.5% C 0.168 H 102.6°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F2E043
RGBrgb(242, 224, 67)
HSLhsl(54, 87%, 61%)
HSVhsv(54, 72%, 95%)
CMYKcmyk(0%, 7.4%, 72.3%, 5.1%)
CIE-LABlab(88.25, -10.47, 74.35)
CIE-LCHlch(88.25, 75.09, 98.02°)
OKLaboklab(89.52% -0.0366 0.164)
OKLCHoklch(89.52% 0.168 102.6)
XYZxyz(64.2896, 72.5966, 15.9352)
Luminance0.7259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E043 #4355F2
analogous
#F28943 #F2E043 #ACF243
triadic
#F2E043 #43F2E0 #E043F2
tetradic
#F2E043 #43F289 #4355F2 #F243AC
square
#F2E043 #43F289 #4355F2 #F243AC
split-complementary
#F2E043 #43ACF2 #8943F2
monochromatic
#AF9E0C #E8D210 #F2E043 #F6E97C #FAF3B5

Accessibility & contrast

On white

1.35
#F2E043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#F2E043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E043
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E043#FFFFFF#000000##000000
##F2E0431.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D926
Deuteranopia (green-blind)
#FAE14E
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2e043;
/* rgb */ color: rgb(242, 224, 67);
/* oklch */ color: oklch(89.5% 0.168 102.6);
Tailwind
colors: {
  custom: {
    50: '#fae981',
    500: '#f2e043',
    950: '#000000',
  },
}
SCSS
$custom: #f2e043;
$custom-light: #fae981;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e043",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 67
  },
  "hsl": {
    "h": 53.829,
    "s": 87.065,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89518,
    "c": 0.16803,
    "h": 102.6
  },
  "luminance": 0.72594
}

Semantic roles & 50–950 ramp

primary
#F2E043
secondary
#2A38AF
accent
#19E402
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18160B
muted
#86847E

Preview Lab

Preview with #F2E043

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

Preview Lab → · Contrast checker → · Palette generator →

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