#F2E073#F2E073

#F2E073 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.131 H 100.1°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F2E073
RGBrgb(242, 224, 115)
HSLhsl(51, 83%, 70%)
HSVhsv(51, 52%, 95%)
CMYKcmyk(0%, 7.4%, 52.5%, 5.1%)
CIE-LABlab(88.65, -7.50, 54.95)
CIE-LCHlch(88.65, 55.46, 97.77°)
OKLaboklab(89.96% -0.023 0.1294)
OKLCHoklch(89.96% 0.131 100.1)
XYZxyz(66.3703, 73.4288, 26.8934)
Luminance0.7343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E073 #7385F2
analogous
#F2A073 #F2E073 #C5F273
triadic
#F2E073 #73F2E0 #E073F2
tetradic
#F2E073 #73F2A0 #7385F2 #F273C5
square
#F2E073 #73F2A0 #7385F2 #F273C5
split-complementary
#F2E073 #73C5F2 #A073F2
monochromatic
#D7BB14 #EDD43B #F2E073 #F7ECAB #FCF9E3

Accessibility & contrast

On white

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

On black

15.69
#F2E073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E073
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E073#FFFFFF#000000##000000
##F2E0731.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB69
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e073;
/* rgb */ color: rgb(242, 224, 115);
/* oklch */ color: oklch(90.0% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#f9e99e',
    500: '#f2e073',
    950: '#000000',
  },
}
SCSS
$custom: #f2e073;
$custom-light: #f9e99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e073",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 115
  },
  "hsl": {
    "h": 51.496,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.8996,
    "c": 0.13139,
    "h": 100.1
  },
  "luminance": 0.73426
}

Semantic roles & 50–950 ramp

primary
#F2E073
secondary
#3D52CC
accent
#25DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E073

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

Preview Lab → · Contrast checker → · Palette generator →

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