#F2EA6A#F2EA6A

#F2EA6A is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.9% C 0.149 H 105.7°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F2EA6A
RGBrgb(242, 234, 106)
HSLhsl(56, 84%, 68%)
HSVhsv(56, 56%, 95%)
CMYKcmyk(0%, 3.3%, 56.2%, 5.1%)
CIE-LABlab(91.13, -13.16, 61.88)
CIE-LCHlch(91.13, 63.26, 102.01°)
OKLaboklab(91.9% -0.0402 0.1434)
OKLCHoklch(91.9% 0.149 105.7)
XYZxyz(68.6444, 78.7657, 25.2202)
Luminance0.7876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA6A #6A72F2
analogous
#F2A66A #F2EA6A #B6F26A
triadic
#F2EA6A #6AF2EA #EA6AF2
tetradic
#F2EA6A #6AF2A6 #6A72F2 #F26AB6
square
#F2EA6A #6AF2A6 #6A72F2 #F26AB6
split-complementary
#F2EA6A #6AB6F2 #A66AF2
monochromatic
#CFC412 #EDE232 #F2EA6A #F7F2A2 #FCFADB

Accessibility & contrast

On white

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

On black

16.75
#F2EA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA6A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA6A#FFFFFF#000000##000000
##F2EA6A1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25D
Deuteranopia (green-blind)
#FFE871
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea6a;
/* rgb */ color: rgb(242, 234, 106);
/* oklch */ color: oklch(91.9% 0.149 105.7);
Tailwind
colors: {
  custom: {
    50: '#f9f099',
    500: '#f2ea6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea6a;
$custom-light: #f9f099;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea6a",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 106
  },
  "hsl": {
    "h": 56.471,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91897,
    "c": 0.14889,
    "h": 105.7
  },
  "luminance": 0.78763
}

Semantic roles & 50–950 ramp

primary
#F2EA6A
secondary
#363ECB
accent
#12E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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