#F2E07C#F2E07C

#F2E07C is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.123 H 99.3°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F2E07C
RGBrgb(242, 224, 124)
HSLhsl(51, 82%, 72%)
HSVhsv(51, 49%, 95%)
CMYKcmyk(0%, 7.4%, 48.8%, 5.1%)
CIE-LABlab(88.75, -6.73, 50.83)
CIE-LCHlch(88.75, 51.27, 97.55°)
OKLaboklab(90.08% -0.0199 0.1211)
OKLCHoklch(90.08% 0.123 99.3)
XYZxyz(66.9137, 73.6462, 29.7553)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E07C #7C8EF2
analogous
#F2A57C #F2E07C #C9F27C
triadic
#F2E07C #7CF2E0 #E07CF2
tetradic
#F2E07C #7CF2A5 #7C8EF2 #F27CC9
square
#F2E07C #7CF2A5 #7C8EF2 #F27CC9
split-complementary
#F2E07C #7CC9F2 #A57CF2
monochromatic
#DEBF16 #ECD344 #F2E07C #F8EDB4 #FCF8E3

Accessibility & contrast

On white

1.34
#F2E07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#F2E07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E07C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E07C#FFFFFF#000000##000000
##F2E07C1.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB73
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e07c;
/* rgb */ color: rgb(242, 224, 124);
/* oklch */ color: oklch(90.1% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#f8e9a4',
    500: '#f2e07c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e07c;
$custom-light: #f8e9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e07c",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 50.847,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90075,
    "c": 0.12272,
    "h": 99.3
  },
  "luminance": 0.73644
}

Semantic roles & 50–950 ramp

primary
#F2E07C
secondary
#455ACD
accent
#28DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E07C

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

Preview Lab → · Contrast checker → · Palette generator →

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