#F2EB61#F2EB61

#F2EB61 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.0% C 0.157 H 106.4°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F2EB61
RGBrgb(242, 235, 97)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 60%, 95%)
CMYKcmyk(0%, 2.9%, 59.9%, 5.1%)
CIE-LABlab(91.31, -14.27, 65.94)
CIE-LCHlch(91.31, 67.46, 102.21°)
OKLaboklab(92.01% -0.0443 0.1509)
OKLCHoklch(92.01% 0.157 106.4)
XYZxyz(68.4862, 79.1592, 22.9786)
Luminance0.7916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB61 #6168F2
analogous
#F2A361 #F2EB61 #B1F261
triadic
#F2EB61 #61F2EB #EB61F2
tetradic
#F2EB61 #61F2A3 #6168F2 #F261B1
square
#F2EB61 #61F2A3 #6168F2 #F261B1
split-complementary
#F2EB61 #61B1F2 #A361F2
monochromatic
#C8BF10 #EDE428 #F2EB61 #F7F29A #FBF9D2

Accessibility & contrast

On white

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

On black

16.83
#F2EB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB61
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB61#FFFFFF#000000##000000
##F2EB611.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE351
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb61;
/* rgb */ color: rgb(242, 235, 97);
/* oklch */ color: oklch(92.0% 0.157 106.4);
Tailwind
colors: {
  custom: {
    50: '#f9f193',
    500: '#f2eb61',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb61;
$custom-light: #f9f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb61",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 97
  },
  "hsl": {
    "h": 57.103,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92013,
    "c": 0.15727,
    "h": 106.4
  },
  "luminance": 0.79157
}

Semantic roles & 50–950 ramp

primary
#F2EB61
secondary
#3239C5
accent
#0FE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EB61

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

Preview Lab → · Contrast checker → · Palette generator →

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