#F2E455#F2E455

#F2E455 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.5% C 0.160 H 103.7°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F2E455
RGBrgb(242, 228, 85)
HSLhsl(55, 86%, 64%)
HSVhsv(55, 65%, 95%)
CMYKcmyk(0%, 5.8%, 64.9%, 5.1%)
CIE-LABlab(89.40, -11.55, 68.81)
CIE-LCHlch(89.40, 69.77, 99.53°)
OKLaboklab(90.47% -0.0379 0.1553)
OKLCHoklch(90.47% 0.16 103.7)
XYZxyz(66.0036, 75.0225, 19.5966)
Luminance0.7502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E455 #5563F2
analogous
#F29655 #F2E455 #B1F255
triadic
#F2E455 #55F2E4 #E455F2
tetradic
#F2E455 #55F296 #5563F2 #F255B1
square
#F2E455 #55F296 #5563F2 #F255B1
split-complementary
#F2E455 #55B1F2 #9655F2
monochromatic
#BEAE0F #EEDB1C #F2E455 #F6ED8E #FBF6C7

Accessibility & contrast

On white

1.31
#F2E455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F2E455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E455
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E455#FFFFFF#000000##000000
##F2E4551.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD42
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e455;
/* rgb */ color: rgb(242, 228, 85);
/* oklch */ color: oklch(90.5% 0.160 103.7);
Tailwind
colors: {
  custom: {
    50: '#faec8c',
    500: '#f2e455',
    950: '#000000',
  },
}
SCSS
$custom: #f2e455;
$custom-light: #faec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e455",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 85
  },
  "hsl": {
    "h": 54.65,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90469,
    "c": 0.15983,
    "h": 103.7
  },
  "luminance": 0.7502
}

Semantic roles & 50–950 ramp

primary
#F2E455
secondary
#2F3CBC
accent
#17E203
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E455

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

Preview Lab → · Contrast checker → · Palette generator →

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