#F6E372#F6E372

#F6E372 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.9% C 0.135 H 99.9°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F6E372
RGBrgb(246, 227, 114)
HSLhsl(51, 88%, 71%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 7.7%, 53.7%, 3.5%)
CIE-LABlab(89.74, -7.47, 56.78)
CIE-LCHlch(89.74, 57.26, 97.49°)
OKLaboklab(90.9% -0.0233 0.1332)
OKLCHoklch(90.9% 0.135 99.9)
XYZxyz(68.5147, 75.7485, 26.9282)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E372 #7285F6
analogous
#F6A172 #F6E372 #C7F672
triadic
#F6E372 #72F6E3 #E372F6
tetradic
#F6E372 #72F6A1 #7285F6 #F672C7
square
#F6E372 #72F6A1 #7285F6 #F672C7
split-complementary
#F6E372 #72C7F6 #A172F6
monochromatic
#DFC10E #F2D838 #F6E372 #FAEEAC #FDF9E2

Accessibility & contrast

On white

1.30
#F6E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#F6E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E372
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E372#FFFFFF#000000##000000
##F6E3721.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD67
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e372;
/* rgb */ color: rgb(246, 227, 114);
/* oklch */ color: oklch(90.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#fceb9d',
    500: '#f6e372',
    950: '#000000',
  },
}
SCSS
$custom: #f6e372;
$custom-light: #fceb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e372",
  "rgb": {
    "r": 246,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 51.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90901,
    "c": 0.13518,
    "h": 99.9
  },
  "luminance": 0.75746
}

Semantic roles & 50–950 ramp

primary
#F6E372
secondary
#3C51D1
accent
#22E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E372

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

Preview Lab → · Contrast checker → · Palette generator →

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