#F2E063#F2E063

#F2E063 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.146 H 101.2°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F2E063
RGBrgb(242, 224, 99)
HSLhsl(52, 85%, 67%)
HSVhsv(52, 59%, 95%)
CMYKcmyk(0%, 7.4%, 59.1%, 5.1%)
CIE-LABlab(88.49, -8.69, 61.99)
CIE-LCHlch(88.49, 62.60, 97.98°)
OKLaboklab(89.78% -0.0282 0.1428)
OKLCHoklch(89.78% 0.146 101.2)
XYZxyz(65.5282, 73.0920, 22.4584)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E063 #6375F2
analogous
#F29963 #F2E063 #BCF263
triadic
#F2E063 #63F2E0 #E063F2
tetradic
#F2E063 #63F299 #6375F2 #F263BC
square
#F2E063 #63F299 #6375F2 #F263BC
split-complementary
#F2E063 #63BCF2 #9963F2
monochromatic
#CAB311 #EDD52B #F2E063 #F7EB9B #FBF6D4

Accessibility & contrast

On white

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

On black

15.62
#F2E063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E063
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E063#FFFFFF#000000##000000
##F2E0631.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA56
Deuteranopia (green-blind)
#F8E169
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e063;
/* rgb */ color: rgb(242, 224, 99);
/* oklch */ color: oklch(89.8% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#f9e994',
    500: '#f2e063',
    950: '#000000',
  },
}
SCSS
$custom: #f2e063;
$custom-light: #f9e994;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e063",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 99
  },
  "hsl": {
    "h": 52.448,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89781,
    "c": 0.14552,
    "h": 101.2
  },
  "luminance": 0.73089
}

Semantic roles & 50–950 ramp

primary
#F2E063
secondary
#3345C6
accent
#20E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E063

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

Preview Lab → · Contrast checker → · Palette generator →

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