#F2E767#F2E767

#F2E767 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.3% C 0.149 H 104.4°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#F2E767
RGBrgb(242, 231, 103)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 57%, 95%)
CMYKcmyk(0%, 4.5%, 57.4%, 5.1%)
CIE-LABlab(90.33, -11.89, 62.29)
CIE-LCHlch(90.33, 63.41, 100.81°)
OKLaboklab(91.25% -0.0369 0.1439)
OKLCHoklch(91.25% 0.149 104.4)
XYZxyz(67.6443, 77.0107, 24.1307)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E767 #6772F2
analogous
#F2A267 #F2E767 #B7F267
triadic
#F2E767 #67F2E7 #E767F2
tetradic
#F2E767 #67F2A2 #6772F2 #F267B7
square
#F2E767 #67F2A2 #6772F2 #F267B7
split-complementary
#F2E767 #67B7F2 #A267F2
monochromatic
#CDBE12 #EDDE2F #F2E767 #F7F09F #FCF9D8

Accessibility & contrast

On white

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

On black

16.40
#F2E767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E767
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E767#FFFFFF#000000##000000
##F2E7671.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e767;
/* rgb */ color: rgb(242, 231, 103);
/* oklch */ color: oklch(91.3% 0.149 104.4);
Tailwind
colors: {
  custom: {
    50: '#f9ee97',
    500: '#f2e767',
    950: '#000000',
  },
}
SCSS
$custom: #f2e767;
$custom-light: #f9ee97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e767",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 103
  },
  "hsl": {
    "h": 55.252,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91251,
    "c": 0.14855,
    "h": 104.4
  },
  "luminance": 0.77008
}

Semantic roles & 50–950 ramp

primary
#F2E767
secondary
#3440C9
accent
#16E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E767

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

Preview Lab → · Contrast checker → · Palette generator →

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