#F2E256#F2E256

#F2E256 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.1% C 0.157 H 102.8°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F2E256
RGBrgb(242, 226, 86)
HSLhsl(54, 86%, 64%)
HSVhsv(54, 64%, 95%)
CMYKcmyk(0%, 6.6%, 64.5%, 5.1%)
CIE-LABlab(88.90, -10.50, 67.88)
CIE-LCHlch(88.90, 68.69, 98.80°)
OKLaboklab(90.07% -0.0348 0.1535)
OKLCHoklch(90.07% 0.157 102.8)
XYZxyz(65.4966, 73.9444, 19.6250)
Luminance0.7394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E256 #5666F2
analogous
#F29456 #F2E256 #B4F256
triadic
#F2E256 #56F2E2 #E256F2
tetradic
#F2E256 #56F294 #5666F2 #F256B4
square
#F2E256 #56F294 #5666F2 #F256B4
split-complementary
#F2E256 #56B4F2 #9456F2
monochromatic
#BFAD0F #EED81D #F2E256 #F6EC8F #FBF6C8

Accessibility & contrast

On white

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

On black

15.79
#F2E256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E256
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E256#FFFFFF#000000##000000
##F2E2561.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB44
Deuteranopia (green-blind)
#FAE35E
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e256;
/* rgb */ color: rgb(242, 226, 86);
/* oklch */ color: oklch(90.1% 0.157 102.8);
Tailwind
colors: {
  custom: {
    50: '#faea8c',
    500: '#f2e256',
    950: '#000000',
  },
}
SCSS
$custom: #f2e256;
$custom-light: #faea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e256",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 53.846,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90068,
    "c": 0.15736,
    "h": 102.8
  },
  "luminance": 0.73942
}

Semantic roles & 50–950 ramp

primary
#F2E256
secondary
#2F3EBD
accent
#1AE203
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E256

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

Preview Lab → · Contrast checker → · Palette generator →

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