#F2E265#F2E265

#F2E265 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.2% C 0.146 H 102.1°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#F2E265
RGBrgb(242, 226, 101)
HSLhsl(53, 84%, 67%)
HSVhsv(53, 58%, 95%)
CMYKcmyk(0%, 6.6%, 58.3%, 5.1%)
CIE-LABlab(89.02, -9.55, 61.71)
CIE-LCHlch(89.02, 62.44, 98.80°)
OKLaboklab(90.21% -0.0304 0.1424)
OKLCHoklch(90.21% 0.146 102.1)
XYZxyz(66.1656, 74.2121, 23.1485)
Luminance0.7421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E265 #6575F2
analogous
#F29B65 #F2E265 #BCF265
triadic
#F2E265 #65F2E2 #E265F2
tetradic
#F2E265 #65F29B #6575F2 #F265BC
square
#F2E265 #65F29B #6575F2 #F265BC
split-complementary
#F2E265 #65BCF2 #9B65F2
monochromatic
#CBB611 #EDD72D #F2E265 #F7ED9D #FCF7D6

Accessibility & contrast

On white

1.33
#F2E265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#F2E265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E265
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E265#FFFFFF#000000##000000
##F2E2651.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC58
Deuteranopia (green-blind)
#F9E36B
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e265;
/* rgb */ color: rgb(242, 226, 101);
/* oklch */ color: oklch(90.2% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea95',
    500: '#f2e265',
    950: '#000000',
  },
}
SCSS
$custom: #f2e265;
$custom-light: #f9ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e265",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 101
  },
  "hsl": {
    "h": 53.191,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90209,
    "c": 0.14562,
    "h": 102.1
  },
  "luminance": 0.7421
}

Semantic roles & 50–950 ramp

primary
#F2E265
secondary
#3344C8
accent
#1EE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E265

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

Preview Lab → · Contrast checker → · Palette generator →

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