#F2E473#F2E473

#F2E473 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.135 H 102.3°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F2E473
RGBrgb(242, 228, 115)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 52%, 95%)
CMYKcmyk(0%, 5.8%, 52.5%, 5.1%)
CIE-LABlab(89.68, -9.50, 56.15)
CIE-LCHlch(89.68, 56.95, 99.60°)
OKLaboklab(90.77% -0.0288 0.132)
OKLCHoklch(90.77% 0.135 102.3)
XYZxyz(67.4579, 75.6042, 27.2560)
Luminance0.7560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E473 #7381F2
analogous
#F2A573 #F2E473 #C0F273
triadic
#F2E473 #73F2E4 #E473F2
tetradic
#F2E473 #73F2A5 #7381F2 #F273C0
square
#F2E473 #73F2A5 #7381F2 #F273C0
split-complementary
#F2E473 #73C0F2 #A573F2
monochromatic
#D7C114 #EDD93B #F2E473 #F7EFAB #FCFAE3

Accessibility & contrast

On white

1.30
#F2E473 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F2E473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E473
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E473#FFFFFF#000000##000000
##F2E4731.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE68
Deuteranopia (green-blind)
#FAE478
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e473;
/* rgb */ color: rgb(242, 228, 115);
/* oklch */ color: oklch(90.8% 0.135 102.3);
Tailwind
colors: {
  custom: {
    50: '#f9ec9e',
    500: '#f2e473',
    950: '#000000',
  },
}
SCSS
$custom: #f2e473;
$custom-light: #f9ec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e473",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 115
  },
  "hsl": {
    "h": 53.386,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90772,
    "c": 0.13507,
    "h": 102.3
  },
  "luminance": 0.75602
}

Semantic roles & 50–950 ramp

primary
#F2E473
secondary
#3D4DCC
accent
#1EDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E473

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

Preview Lab → · Contrast checker → · Palette generator →

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