#F2EE5C#F2EE5C

#F2EE5C is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.6% C 0.164 H 107.7°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F2EE5C
RGBrgb(242, 238, 92)
HSLhsl(58, 85%, 65%)
HSVhsv(58, 62%, 95%)
CMYKcmyk(0%, 1.7%, 62%, 5.1%)
CIE-LABlab(92.04, -16.06, 68.78)
CIE-LCHlch(92.04, 70.63, 103.14°)
OKLaboklab(92.59% -0.0499 0.1563)
OKLCHoklch(92.59% 0.164 107.7)
XYZxyz(69.1265, 80.8011, 22.0780)
Luminance0.8080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE5C #5C60F2
analogous
#F2A35C #F2EE5C #ABF25C
triadic
#F2EE5C #5CF2EE #EE5CF2
tetradic
#F2EE5C #5CF2A3 #5C60F2 #F25CAB
square
#F2EE5C #5CF2A3 #5C60F2 #F25CAB
split-complementary
#F2EE5C #5CABF2 #A35CF2
monochromatic
#C4BF10 #EDE823 #F2EE5C #F7F495 #FBFACD

Accessibility & contrast

On white

1.22
#F2EE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F2EE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE5C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE5C#FFFFFF#000000##000000
##F2EE5C1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54A
Deuteranopia (green-blind)
#FFEB65
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee5c;
/* rgb */ color: rgb(242, 238, 92);
/* oklch */ color: oklch(92.6% 0.164 107.7);
Tailwind
colors: {
  custom: {
    50: '#faf390',
    500: '#f2ee5c',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee5c;
$custom-light: #faf390;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee5c",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 92
  },
  "hsl": {
    "h": 58.4,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92587,
    "c": 0.16402,
    "h": 107.7
  },
  "luminance": 0.80799
}

Semantic roles & 50–950 ramp

primary
#F2EE5C
secondary
#3135C1
accent
#0AE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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