#F2E985#F2E985

#F2E985 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.122 H 104.0°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#F2E985
RGBrgb(242, 233, 133)
HSLhsl(55, 81%, 74%)
HSVhsv(55, 45%, 95%)
CMYKcmyk(0%, 3.7%, 45%, 5.1%)
CIE-LABlab(91.17, -10.41, 49.46)
CIE-LCHlch(91.17, 50.54, 101.88°)
OKLaboklab(92.02% -0.0296 0.1187)
OKLCHoklch(92.02% 0.122 104)
XYZxyz(69.9921, 78.8505, 33.7185)
Luminance0.7885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E985 #858EF2
analogous
#F2B285 #F2E985 #C4F285
triadic
#F2E985 #85F2E9 #E985F2
tetradic
#F2E985 #85F2B2 #858EF2 #F285C4
square
#F2E985 #85F2B2 #858EF2 #F285C4
split-complementary
#F2E985 #85C4F2 #B285F2
monochromatic
#E4D318 #ECDF4E #F2E985 #F8F3BC #FCFAE3

Accessibility & contrast

On white

1.25
#F2E985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#F2E985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E985
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E985#FFFFFF#000000##000000
##F2E9851.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E37D
Deuteranopia (green-blind)
#FCE889
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e985;
/* rgb */ color: rgb(242, 233, 133);
/* oklch */ color: oklch(92.0% 0.122 104.0);
Tailwind
colors: {
  custom: {
    50: '#f8efaa',
    500: '#f2e985',
    950: '#000000',
  },
}
SCSS
$custom: #f2e985;
$custom-light: #f8efaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e985",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 133
  },
  "hsl": {
    "h": 55.046,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92023,
    "c": 0.12236,
    "h": 104
  },
  "luminance": 0.78849
}

Semantic roles & 50–950 ramp

primary
#F2E985
secondary
#4E58CE
accent
#1ADD08
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2E985

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

Preview Lab → · Contrast checker → · Palette generator →

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