#F2EA7B#F2EA7B

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

Color values

HEX#F2EA7B
RGBrgb(242, 234, 123)
HSLhsl(56, 82%, 72%)
HSVhsv(56, 49%, 95%)
CMYKcmyk(0%, 3.3%, 49.2%, 5.1%)
CIE-LABlab(91.30, -11.81, 54.37)
CIE-LCHlch(91.30, 55.63, 102.25°)
OKLaboklab(92.09% -0.0346 0.1288)
OKLCHoklch(92.09% 0.133 105)
XYZxyz(69.6177, 79.1550, 30.3463)
Luminance0.7915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA7B #7B83F2
analogous
#F2AF7B #F2EA7B #BFF27B
triadic
#F2EA7B #7BF2EA #EA7BF2
tetradic
#F2EA7B #7BF2AF #7B83F2 #F27BBF
square
#F2EA7B #7BF2AF #7B83F2 #F27BBF
split-complementary
#F2EA7B #7BBFF2 #AF7BF2
monochromatic
#DDCF16 #EDE143 #F2EA7B #F7F3B3 #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA7B#FFFFFF#000000##000000
##F2EA7B1.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)
#FBE371
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea7b;
/* rgb */ color: rgb(242, 234, 123);
/* oklch */ color: oklch(92.1% 0.133 105.0);
Tailwind
colors: {
  custom: {
    50: '#f8f0a4',
    500: '#f2ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea7b;
$custom-light: #f8f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea7b",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 55.966,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92094,
    "c": 0.13336,
    "h": 105
  },
  "luminance": 0.79153
}

Semantic roles & 50–950 ramp

primary
#F2EA7B
secondary
#454ECD
accent
#16DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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