#F2E37E#F2E37E

#F2E37E is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.124 H 101.0°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F2E37E
RGBrgb(242, 227, 126)
HSLhsl(52, 82%, 72%)
HSVhsv(52, 48%, 95%)
CMYKcmyk(0%, 6.2%, 47.9%, 5.1%)
CIE-LABlab(89.54, -8.06, 50.83)
CIE-LCHlch(89.54, 51.46, 99.01°)
OKLaboklab(90.71% -0.0235 0.1213)
OKLCHoklch(90.71% 0.124 101)
XYZxyz(67.8548, 75.3241, 30.6993)
Luminance0.7532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E37E #7E8DF2
analogous
#F2A97E #F2E37E #C7F27E
triadic
#F2E37E #7EF2E3 #E37EF2
tetradic
#F2E37E #7EF2A9 #7E8DF2 #F27EC7
square
#F2E37E #7EF2A9 #7E8DF2 #F27EC7
split-complementary
#F2E37E #7EC7F2 #A97EF2
monochromatic
#DFC516 #ECD746 #F2E37E #F8EFB6 #FCF9E3

Accessibility & contrast

On white

1.31
#F2E37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F2E37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E37E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E37E#FFFFFF#000000##000000
##F2E37E1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD75
Deuteranopia (green-blind)
#F8E482
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e37e;
/* rgb */ color: rgb(242, 227, 126);
/* oklch */ color: oklch(90.7% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#f8eba5',
    500: '#f2e37e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e37e;
$custom-light: #f8eba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e37e",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 126
  },
  "hsl": {
    "h": 52.241,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90709,
    "c": 0.12352,
    "h": 101
  },
  "luminance": 0.75322
}

Semantic roles & 50–950 ramp

primary
#F2E37E
secondary
#4759CD
accent
#23DE07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F2E37E

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

Preview Lab → · Contrast checker → · Palette generator →

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