#F2E85A#F2E85A

#F2E85A is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.160 H 105.3°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F2E85A
RGBrgb(242, 232, 90)
HSLhsl(56, 85%, 65%)
HSVhsv(56, 63%, 95%)
CMYKcmyk(0%, 4.1%, 62.8%, 5.1%)
CIE-LABlab(90.47, -13.24, 67.93)
CIE-LCHlch(90.47, 69.21, 101.03°)
OKLaboklab(91.33% -0.0421 0.1542)
OKLCHoklch(91.33% 0.16 105.3)
XYZxyz(67.3225, 77.3310, 21.0510)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E85A #5A64F2
analogous
#F29C5A #F2E85A #B0F25A
triadic
#F2E85A #5AF2E8 #E85AF2
tetradic
#F2E85A #5AF29C #5A64F2 #F25AB0
square
#F2E85A #5AF29C #5A64F2 #F25AB0
split-complementary
#F2E85A #5AB0F2 #9C5AF2
monochromatic
#C2B70F #EEE021 #F2E85A #F6F093 #FBF8CB

Accessibility & contrast

On white

1.28
#F2E85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#F2E85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E85A
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E85A#FFFFFF#000000##000000
##F2E85A1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#FFE762
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e85a;
/* rgb */ color: rgb(242, 232, 90);
/* oklch */ color: oklch(91.3% 0.160 105.3);
Tailwind
colors: {
  custom: {
    50: '#faef8f',
    500: '#f2e85a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e85a;
$custom-light: #faef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e85a",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 90
  },
  "hsl": {
    "h": 56.053,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91332,
    "c": 0.1598,
    "h": 105.3
  },
  "luminance": 0.77329
}

Semantic roles & 50–950 ramp

primary
#F2E85A
secondary
#303AC0
accent
#12E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E85A

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

Preview Lab → · Contrast checker → · Palette generator →

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