#F2E055#F2E055

#F2E055 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.156 H 101.9°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F2E055
RGBrgb(242, 224, 85)
HSLhsl(53, 86%, 64%)
HSVhsv(53, 65%, 95%)
CMYKcmyk(0%, 7.4%, 64.9%, 5.1%)
CIE-LABlab(88.37, -9.56, 67.74)
CIE-LCHlch(88.37, 68.41, 98.04°)
OKLaboklab(89.65% -0.0322 0.153)
OKLCHoklch(89.65% 0.156 101.9)
XYZxyz(64.9160, 72.8471, 19.2340)
Luminance0.7284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E055 #5567F2
analogous
#F29255 #F2E055 #B6F255
triadic
#F2E055 #55F2E0 #E055F2
tetradic
#F2E055 #55F292 #5567F2 #F255B6
square
#F2E055 #55F292 #5567F2 #F255B6
split-complementary
#F2E055 #55B6F2 #9255F2
monochromatic
#BEAA0F #EED61C #F2E055 #F6EA8E #FBF5C7

Accessibility & contrast

On white

1.35
#F2E055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F2E055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E055
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E055#FFFFFF#000000##000000
##F2E0551.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D943
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#FFD1C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e055;
/* rgb */ color: rgb(242, 224, 85);
/* oklch */ color: oklch(89.7% 0.156 101.9);
Tailwind
colors: {
  custom: {
    50: '#fae98b',
    500: '#f2e055',
    950: '#000000',
  },
}
SCSS
$custom: #f2e055;
$custom-light: #fae98b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e055",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 85
  },
  "hsl": {
    "h": 53.121,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89651,
    "c": 0.15637,
    "h": 101.9
  },
  "luminance": 0.72844
}

Semantic roles & 50–950 ramp

primary
#F2E055
secondary
#2F3FBC
accent
#1DE203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E055

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

Preview Lab → · Contrast checker → · Palette generator →

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