#F2E565#F2E565

#F2E565 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.8% C 0.148 H 103.5°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F2E565
RGBrgb(242, 229, 101)
HSLhsl(54, 84%, 67%)
HSVhsv(54, 58%, 95%)
CMYKcmyk(0%, 5.4%, 58.3%, 5.1%)
CIE-LABlab(89.79, -11.04, 62.57)
CIE-LCHlch(89.79, 63.53, 100.01°)
OKLaboklab(90.82% -0.0347 0.1442)
OKLCHoklch(90.82% 0.148 103.5)
XYZxyz(66.9885, 75.8579, 23.4228)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E565 #6572F2
analogous
#F29F65 #F2E565 #B9F265
triadic
#F2E565 #65F2E5 #E565F2
tetradic
#F2E565 #65F29F #6572F2 #F265B9
square
#F2E565 #65F29F #6572F2 #F265B9
split-complementary
#F2E565 #65B9F2 #9F65F2
monochromatic
#CBBA11 #EDDB2D #F2E565 #F7EF9D #FCF8D6

Accessibility & contrast

On white

1.30
#F2E565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F2E565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E565
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E565#FFFFFF#000000##000000
##F2E5651.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE57
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e565;
/* rgb */ color: rgb(242, 229, 101);
/* oklch */ color: oklch(90.8% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#f9ed95',
    500: '#f2e565',
    950: '#000000',
  },
}
SCSS
$custom: #f2e565;
$custom-light: #f9ed95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e565",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 101
  },
  "hsl": {
    "h": 54.468,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90821,
    "c": 0.14836,
    "h": 103.5
  },
  "luminance": 0.75855
}

Semantic roles & 50–950 ramp

primary
#F2E565
secondary
#3341C8
accent
#19E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E565

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

Preview Lab → · Contrast checker → · Palette generator →

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