#F2E163#F2E163

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

Color values

HEX#F2E163
RGBrgb(242, 225, 99)
HSLhsl(53, 85%, 67%)
HSVhsv(53, 59%, 95%)
CMYKcmyk(0%, 7%, 59.1%, 5.1%)
CIE-LABlab(88.75, -9.19, 62.27)
CIE-LCHlch(88.75, 62.95, 98.39°)
OKLaboklab(89.99% -0.0296 0.1434)
OKLCHoklch(89.99% 0.146 101.7)
XYZxyz(65.7977, 73.6311, 22.5483)
Luminance0.7363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E163 #6374F2
analogous
#F29A63 #F2E163 #BCF263
triadic
#F2E163 #63F2E1 #E163F2
tetradic
#F2E163 #63F29A #6374F2 #F263BC
square
#F2E163 #63F29A #6374F2 #F263BC
split-complementary
#F2E163 #63BCF2 #9A63F2
monochromatic
#CAB411 #EDD62B #F2E163 #F7EC9B #FBF7D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E163#FFFFFF#000000##000000
##F2E1631.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)
#F4DB55
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e163;
/* rgb */ color: rgb(242, 225, 99);
/* oklch */ color: oklch(90.0% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#f9ea94',
    500: '#f2e163',
    950: '#000000',
  },
}
SCSS
$custom: #f2e163;
$custom-light: #f9ea94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e163",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 99
  },
  "hsl": {
    "h": 52.867,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89985,
    "c": 0.1464,
    "h": 101.7
  },
  "luminance": 0.73629
}

Semantic roles & 50–950 ramp

primary
#F2E163
secondary
#3344C6
accent
#1FE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E163

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

Preview Lab → · Contrast checker → · Palette generator →

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