#F2E37F#F2E37F

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

Color values

HEX#F2E37F
RGBrgb(242, 227, 127)
HSLhsl(52, 82%, 72%)
HSVhsv(52, 48%, 95%)
CMYKcmyk(0%, 6.2%, 47.5%, 5.1%)
CIE-LABlab(89.56, -7.97, 50.36)
CIE-LCHlch(89.56, 50.99, 98.99°)
OKLaboklab(90.72% -0.0231 0.1203)
OKLCHoklch(90.72% 0.123 100.9)
XYZxyz(67.9196, 75.3500, 31.0408)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E37F #7F8EF2
analogous
#F2AA7F #F2E37F #C7F27F
triadic
#F2E37F #7FF2E3 #E37FF2
tetradic
#F2E37F #7FF2AA #7F8EF2 #F27FC7
square
#F2E37F #7FF2AA #7F8EF2 #F27FC7
split-complementary
#F2E37F #7FC7F2 #AA7FF2
monochromatic
#E0C617 #ECD747 #F2E37F #F8EFB7 #FCF9E3

Accessibility & contrast

On white

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

On black

16.07
#F2E37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E37F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E37F#FFFFFF#000000##000000
##F2E37F1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e37f;
/* rgb */ color: rgb(242, 227, 127);
/* oklch */ color: oklch(90.7% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#f8eba6',
    500: '#f2e37f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e37f;
$custom-light: #f8eba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e37f",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 127
  },
  "hsl": {
    "h": 52.174,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90722,
    "c": 0.12252,
    "h": 100.9
  },
  "luminance": 0.75348
}

Semantic roles & 50–950 ramp

primary
#F2E37F
secondary
#4859CD
accent
#24DE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F2E37F

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

Preview Lab → · Contrast checker → · Palette generator →

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