#F2E764#F2E764

#F2E764 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.151 H 104.5°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F2E764
RGBrgb(242, 231, 100)
HSLhsl(55, 85%, 67%)
HSVhsv(55, 59%, 95%)
CMYKcmyk(0%, 4.5%, 58.7%, 5.1%)
CIE-LABlab(90.30, -12.10, 63.56)
CIE-LCHlch(90.30, 64.70, 100.78°)
OKLaboklab(91.22% -0.0378 0.1462)
OKLCHoklch(91.22% 0.151 104.5)
XYZxyz(67.4964, 76.9515, 23.3518)
Luminance0.7695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E764 #646FF2
analogous
#F2A064 #F2E764 #B6F264
triadic
#F2E764 #64F2E7 #E764F2
tetradic
#F2E764 #64F2A0 #646FF2 #F264B6
square
#F2E764 #64F2A0 #646FF2 #F264B6
split-complementary
#F2E764 #64B6F2 #A064F2
monochromatic
#CBBC11 #EDDE2C #F2E764 #F7F09C #FBF8D5

Accessibility & contrast

On white

1.28
#F2E764 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#F2E764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E764
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E764#FFFFFF#000000##000000
##F2E7641.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E056
Deuteranopia (green-blind)
#FDE66B
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e764;
/* rgb */ color: rgb(242, 231, 100);
/* oklch */ color: oklch(91.2% 0.151 104.5);
Tailwind
colors: {
  custom: {
    50: '#f9ee95',
    500: '#f2e764',
    950: '#000000',
  },
}
SCSS
$custom: #f2e764;
$custom-light: #f9ee95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e764",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 100
  },
  "hsl": {
    "h": 55.352,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.9122,
    "c": 0.15104,
    "h": 104.5
  },
  "luminance": 0.76949
}

Semantic roles & 50–950 ramp

primary
#F2E764
secondary
#333FC7
accent
#16E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E764

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

Preview Lab → · Contrast checker → · Palette generator →

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