#F2E85F#F2E85F

#F2E85F is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.4% C 0.156 H 105.1°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F2E85F
RGBrgb(242, 232, 95)
HSLhsl(56, 85%, 66%)
HSVhsv(56, 61%, 95%)
CMYKcmyk(0%, 4.1%, 60.7%, 5.1%)
CIE-LABlab(90.51, -12.93, 65.91)
CIE-LCHlch(90.51, 67.17, 101.10°)
OKLaboklab(91.38% -0.0407 0.1506)
OKLCHoklch(91.38% 0.156 105.1)
XYZxyz(67.5425, 77.4190, 22.2098)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E85F #5F69F2
analogous
#F29E5F #F2E85F #B2F25F
triadic
#F2E85F #5FF2E8 #E85FF2
tetradic
#F2E85F #5FF29E #5F69F2 #F25FB2
square
#F2E85F #5FF29E #5F69F2 #F25FB2
split-complementary
#F2E85F #5FB2F2 #9E5FF2
monochromatic
#C6BA10 #EDE026 #F2E85F #F7F098 #FBF8D0

Accessibility & contrast

On white

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

On black

16.48
#F2E85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E85F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E85F#FFFFFF#000000##000000
##F2E85F1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04F
Deuteranopia (green-blind)
#FEE767
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e85f;
/* rgb */ color: rgb(242, 232, 95);
/* oklch */ color: oklch(91.4% 0.156 105.1);
Tailwind
colors: {
  custom: {
    50: '#f9ef92',
    500: '#f2e85f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e85f;
$custom-light: #f9ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e85f",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 95
  },
  "hsl": {
    "h": 55.918,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91377,
    "c": 0.156,
    "h": 105.1
  },
  "luminance": 0.77417
}

Semantic roles & 50–950 ramp

primary
#F2E85F
secondary
#323CC4
accent
#13E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2E85F

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

Preview Lab → · Contrast checker → · Palette generator →

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