#F2E85C#F2E85C

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

Color values

HEX#F2E85C
RGBrgb(242, 232, 92)
HSLhsl(56, 85%, 65%)
HSVhsv(56, 62%, 95%)
CMYKcmyk(0%, 4.1%, 62%, 5.1%)
CIE-LABlab(90.49, -13.12, 67.13)
CIE-LCHlch(90.49, 68.40, 101.05°)
OKLaboklab(91.35% -0.0416 0.1528)
OKLCHoklch(91.35% 0.158 105.2)
XYZxyz(67.4087, 77.3655, 21.5054)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E85C #5C66F2
analogous
#F29D5C #F2E85C #B1F25C
triadic
#F2E85C #5CF2E8 #E85CF2
tetradic
#F2E85C #5CF29D #5C66F2 #F25CB1
square
#F2E85C #5CF29D #5C66F2 #F25CB1
split-complementary
#F2E85C #5CB1F2 #9D5CF2
monochromatic
#C4B810 #EDE023 #F2E85C #F7F095 #FBF8CD

Accessibility & contrast

On white

1.27
#F2E85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E85C#FFFFFF#000000##000000
##F2E85C1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04B
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e85c;
/* rgb */ color: rgb(242, 232, 92);
/* oklch */ color: oklch(91.3% 0.158 105.2);
Tailwind
colors: {
  custom: {
    50: '#faef90',
    500: '#f2e85c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e85c;
$custom-light: #faef90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e85c",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 92
  },
  "hsl": {
    "h": 56,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.9135,
    "c": 0.15831,
    "h": 105.2
  },
  "luminance": 0.77363
}

Semantic roles & 50–950 ramp

primary
#F2E85C
secondary
#313AC1
accent
#13E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E85C

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

Preview Lab → · Contrast checker → · Palette generator →

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