#F2EA7D#F2EA7D

#F2EA7D is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.1% C 0.131 H 104.9°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F2EA7D
RGBrgb(242, 234, 125)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 48%, 95%)
CMYKcmyk(0%, 3.3%, 48.3%, 5.1%)
CIE-LABlab(91.33, -11.63, 53.46)
CIE-LCHlch(91.33, 54.71, 102.28°)
OKLaboklab(92.12% -0.0339 0.127)
OKLCHoklch(92.12% 0.131 104.9)
XYZxyz(69.7442, 79.2056, 31.0124)
Luminance0.7920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7D #7D85F2
analogous
#F2AF7D #F2EA7D #C0F27D
triadic
#F2EA7D #7DF2EA #EA7DF2
tetradic
#F2EA7D #7DF2AF #7D85F2 #F27DC0
square
#F2EA7D #7DF2AF #7D85F2 #F27DC0
split-complementary
#F2EA7D #7DC0F2 #AF7DF2
monochromatic
#DED116 #ECE145 #F2EA7D #F8F3B5 #FCFBE3

Accessibility & contrast

On white

1.25
#F2EA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#F2EA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA7D
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA7D#FFFFFF#000000##000000
##F2EA7D1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE373
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7d;
/* rgb */ color: rgb(242, 234, 125);
/* oklch */ color: oklch(92.1% 0.131 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8f0a5',
    500: '#f2ea7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7d;
$custom-light: #f8f0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7d",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 125
  },
  "hsl": {
    "h": 55.897,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9212,
    "c": 0.13141,
    "h": 104.9
  },
  "luminance": 0.79204
}

Semantic roles & 50–950 ramp

primary
#F2EA7D
secondary
#4650CD
accent
#16DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F2EA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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