#F2E372#F2E372

#F2E372 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.135 H 101.8°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F2E372
RGBrgb(242, 227, 114)
HSLhsl(53, 83%, 70%)
HSVhsv(53, 53%, 95%)
CMYKcmyk(0%, 6.2%, 52.9%, 5.1%)
CIE-LABlab(89.41, -9.08, 56.30)
CIE-LCHlch(89.41, 57.03, 99.16°)
OKLaboklab(90.56% -0.0277 0.1322)
OKLCHoklch(90.56% 0.135 101.8)
XYZxyz(67.1264, 75.0327, 26.8632)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E372 #7281F2
analogous
#F2A372 #F2E372 #C1F272
triadic
#F2E372 #72F2E3 #E372F2
tetradic
#F2E372 #72F2A3 #7281F2 #F272C1
square
#F2E372 #72F2A3 #7281F2 #F272C1
split-complementary
#F2E372 #72C1F2 #A372F2
monochromatic
#D6BF14 #EDD83A #F2E372 #F7EEAA #FCF9E2

Accessibility & contrast

On white

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

On black

16.01
#F2E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E372
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E372#FFFFFF#000000##000000
##F2E3721.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD67
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e372;
/* rgb */ color: rgb(242, 227, 114);
/* oklch */ color: oklch(90.6% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#f9eb9d',
    500: '#f2e372',
    950: '#000000',
  },
}
SCSS
$custom: #f2e372;
$custom-light: #f9eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e372",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 52.969,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90556,
    "c": 0.13506,
    "h": 101.8
  },
  "luminance": 0.7503
}

Semantic roles & 50–950 ramp

primary
#F2E372
secondary
#3D4DCC
accent
#1FE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E372

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

Preview Lab → · Contrast checker → · Palette generator →

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