#F2E254#F2E254

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

Color values

HEX#F2E254
RGBrgb(242, 226, 84)
HSLhsl(54, 86%, 64%)
HSVhsv(54, 65%, 95%)
CMYKcmyk(0%, 6.6%, 65.3%, 5.1%)
CIE-LABlab(88.88, -10.62, 68.66)
CIE-LCHlch(88.88, 69.48, 98.79°)
OKLaboklab(90.05% -0.0353 0.1548)
OKLCHoklch(90.05% 0.159 102.9)
XYZxyz(65.4172, 73.9127, 19.2065)
Luminance0.7391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E254 #5464F2
analogous
#F29354 #F2E254 #B3F254
triadic
#F2E254 #54F2E2 #E254F2
tetradic
#F2E254 #54F293 #5464F2 #F254B3
square
#F2E254 #54F293 #5464F2 #F254B3
split-complementary
#F2E254 #54B3F2 #9354F2
monochromatic
#BDAC0E #EED81B #F2E254 #F6EC8D #FBF5C6

Accessibility & contrast

On white

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

On black

15.78
#F2E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E254
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E254#FFFFFF#000000##000000
##F2E2541.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e254;
/* rgb */ color: rgb(242, 226, 84);
/* oklch */ color: oklch(90.1% 0.159 102.9);
Tailwind
colors: {
  custom: {
    50: '#faea8b',
    500: '#f2e254',
    950: '#000000',
  },
}
SCSS
$custom: #f2e254;
$custom-light: #faea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e254",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 53.924,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90051,
    "c": 0.1588,
    "h": 102.9
  },
  "luminance": 0.7391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E254

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

Preview Lab → · Contrast checker → · Palette generator →

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