#F2E792#F2E792

#F2E792 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.106 H 101.9°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F2E792
RGBrgb(242, 231, 146)
HSLhsl(53, 79%, 76%)
HSVhsv(53, 40%, 95%)
CMYKcmyk(0%, 4.5%, 39.7%, 5.1%)
CIE-LABlab(90.83, -8.11, 42.69)
CIE-LCHlch(90.83, 43.45, 100.76°)
OKLaboklab(91.81% -0.0219 0.1042)
OKLCHoklch(91.81% 0.106 101.9)
XYZxyz(70.3835, 78.1063, 38.5570)
Luminance0.7810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E792 #929DF2
analogous
#F2B792 #F2E792 #CDF292
triadic
#F2E792 #92F2E7 #E792F2
tetradic
#F2E792 #92F2B7 #929DF2 #F292CD
square
#F2E792 #92F2B7 #929DF2 #F292CD
split-complementary
#F2E792 #92CDF2 #B792F2
monochromatic
#E5CF25 #EBDB5B #F2E792 #F9F3C9 #FCF9E4

Accessibility & contrast

On white

1.26
#F2E792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F2E792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E792
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E792#FFFFFF#000000##000000
##F2E7921.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E28C
Deuteranopia (green-blind)
#F9E795
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e792;
/* rgb */ color: rgb(242, 231, 146);
/* oklch */ color: oklch(91.8% 0.106 101.9);
Tailwind
colors: {
  custom: {
    50: '#f8eeb3',
    500: '#f2e792',
    950: '#000000',
  },
}
SCSS
$custom: #f2e792;
$custom-light: #f8eeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e792",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 53.125,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91811,
    "c": 0.10649,
    "h": 101.9
  },
  "luminance": 0.78104
}

Semantic roles & 50–950 ramp

primary
#F2E792
secondary
#5967CF
accent
#22DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2E792

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

Preview Lab → · Contrast checker → · Palette generator →

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