#F2E765#F2E765

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

Color values

HEX#F2E765
RGBrgb(242, 231, 101)
HSLhsl(55, 84%, 67%)
HSVhsv(55, 58%, 95%)
CMYKcmyk(0%, 4.5%, 58.3%, 5.1%)
CIE-LABlab(90.31, -12.03, 63.14)
CIE-LCHlch(90.31, 64.27, 100.79°)
OKLaboklab(91.23% -0.0375 0.1455)
OKLCHoklch(91.23% 0.15 104.5)
XYZxyz(67.5451, 76.9710, 23.6083)
Luminance0.7697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E765 #6570F2
analogous
#F2A065 #F2E765 #B7F265
triadic
#F2E765 #65F2E7 #E765F2
tetradic
#F2E765 #65F2A0 #6570F2 #F265B7
square
#F2E765 #65F2A0 #6570F2 #F265B7
split-complementary
#F2E765 #65B7F2 #A065F2
monochromatic
#CBBD11 #EDDE2D #F2E765 #F7F09D #FCF9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E765#FFFFFF#000000##000000
##F2E7651.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)
#F9E057
Deuteranopia (green-blind)
#FDE66C
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e765;
/* rgb */ color: rgb(242, 231, 101);
/* oklch */ color: oklch(91.2% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#f9ee95',
    500: '#f2e765',
    950: '#000000',
  },
}
SCSS
$custom: #f2e765;
$custom-light: #f9ee95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e765",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 101
  },
  "hsl": {
    "h": 55.319,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.9123,
    "c": 0.15022,
    "h": 104.5
  },
  "luminance": 0.76969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E765

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

Preview Lab → · Contrast checker → · Palette generator →

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