#F2EB6A#F2EB6A

#F2EB6A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.150 H 106.1°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#F2EB6A
RGBrgb(242, 235, 106)
HSLhsl(57, 84%, 68%)
HSVhsv(57, 56%, 95%)
CMYKcmyk(0%, 2.9%, 56.2%, 5.1%)
CIE-LABlab(91.39, -13.65, 62.17)
CIE-LCHlch(91.39, 63.65, 102.39°)
OKLaboklab(92.1% -0.0416 0.144)
OKLCHoklch(92.1% 0.15 106.1)
XYZxyz(68.9299, 79.3367, 25.3154)
Luminance0.7933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB6A #6A71F2
analogous
#F2A76A #F2EB6A #B5F26A
triadic
#F2EB6A #6AF2EB #EB6AF2
tetradic
#F2EB6A #6AF2A7 #6A71F2 #F26AB5
square
#F2EB6A #6AF2A7 #6A71F2 #F26AB5
split-complementary
#F2EB6A #6AB5F2 #A76AF2
monochromatic
#CFC612 #EDE332 #F2EB6A #F7F3A2 #FCFADB

Accessibility & contrast

On white

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

On black

16.87
#F2EB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB6A
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB6A#FFFFFF#000000##000000
##F2EB6A1.001.2516.8716.87
#FFFFFF1.251.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE35C
Deuteranopia (green-blind)
#FFE971
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2eb6a;
/* rgb */ color: rgb(242, 235, 106);
/* oklch */ color: oklch(92.1% 0.150 106.1);
Tailwind
colors: {
  custom: {
    50: '#f9f199',
    500: '#f2eb6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb6a;
$custom-light: #f9f199;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb6a",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 106
  },
  "hsl": {
    "h": 56.912,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92103,
    "c": 0.14987,
    "h": 106.1
  },
  "luminance": 0.79335
}

Semantic roles & 50–950 ramp

primary
#F2EB6A
secondary
#363DCB
accent
#10E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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