#F2E37A#F2E37A

#F2E37A is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.127 H 101.3°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F2E37A
RGBrgb(242, 227, 122)
HSLhsl(53, 82%, 71%)
HSVhsv(53, 50%, 95%)
CMYKcmyk(0%, 6.2%, 49.6%, 5.1%)
CIE-LABlab(89.50, -8.41, 52.67)
CIE-LCHlch(89.50, 53.34, 99.07°)
OKLaboklab(90.66% -0.0249 0.125)
OKLCHoklch(90.66% 0.127 101.3)
XYZxyz(67.6018, 75.2229, 29.3671)
Luminance0.7522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E37A #7A89F2
analogous
#F2A77A #F2E37A #C5F27A
triadic
#F2E37A #7AF2E3 #E37AF2
tetradic
#F2E37A #7AF2A7 #7A89F2 #F27AC5
square
#F2E37A #7AF2A7 #7A89F2 #F27AC5
split-complementary
#F2E37A #7AC5F2 #A77AF2
monochromatic
#DCC316 #EDD742 #F2E37A #F7EFB2 #FCF9E3

Accessibility & contrast

On white

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

On black

16.04
#F2E37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E37A
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E37A#FFFFFF#000000##000000
##F2E37A1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD71
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e37a;
/* rgb */ color: rgb(242, 227, 122);
/* oklch */ color: oklch(90.7% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8eba3',
    500: '#f2e37a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e37a;
$custom-light: #f8eba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e37a",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 122
  },
  "hsl": {
    "h": 52.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90656,
    "c": 0.12746,
    "h": 101.3
  },
  "luminance": 0.75221
}

Semantic roles & 50–950 ramp

primary
#F2E37A
secondary
#4455CD
accent
#22DF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E37A

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

Preview Lab → · Contrast checker → · Palette generator →

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