#F2E965#F2E965

#F2E965 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.6% C 0.152 H 105.4°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F2E965
RGBrgb(242, 233, 101)
HSLhsl(56, 84%, 67%)
HSVhsv(56, 58%, 95%)
CMYKcmyk(0%, 3.7%, 58.3%, 5.1%)
CIE-LABlab(90.82, -13.02, 63.71)
CIE-LCHlch(90.82, 65.03, 101.55°)
OKLaboklab(91.64% -0.0403 0.1467)
OKLCHoklch(91.64% 0.152 105.4)
XYZxyz(68.1081, 78.0969, 23.7959)
Luminance0.7810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E965 #656EF2
analogous
#F2A265 #F2E965 #B5F265
triadic
#F2E965 #65F2E9 #E965F2
tetradic
#F2E965 #65F2A2 #656EF2 #F265B5
square
#F2E965 #65F2A2 #656EF2 #F265B5
split-complementary
#F2E965 #65B5F2 #A265F2
monochromatic
#CBC011 #EDE12D #F2E965 #F7F19D #FCF9D6

Accessibility & contrast

On white

1.26
#F2E965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F2E965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E965
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E965#FFFFFF#000000##000000
##F2E9651.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE157
Deuteranopia (green-blind)
#FFE76C
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e965;
/* rgb */ color: rgb(242, 233, 101);
/* oklch */ color: oklch(91.6% 0.152 105.4);
Tailwind
colors: {
  custom: {
    50: '#f9ef95',
    500: '#f2e965',
    950: '#000000',
  },
}
SCSS
$custom: #f2e965;
$custom-light: #f9ef95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e965",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 101
  },
  "hsl": {
    "h": 56.17,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.9164,
    "c": 0.15213,
    "h": 105.4
  },
  "luminance": 0.78095
}

Semantic roles & 50–950 ramp

primary
#F2E965
secondary
#333DC8
accent
#13E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E965

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

Preview Lab → · Contrast checker → · Palette generator →

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