#F6E272#F6E272

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

Color values

HEX#F6E272
RGBrgb(246, 226, 114)
HSLhsl(51, 88%, 71%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 8.1%, 53.7%, 3.5%)
CIE-LABlab(89.49, -6.97, 56.48)
CIE-LCHlch(89.49, 56.91, 97.03°)
OKLaboklab(90.7% -0.0218 0.1325)
OKLCHoklch(90.7% 0.134 99.4)
XYZxyz(68.2420, 75.2031, 26.8373)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E272 #7286F6
analogous
#F6A072 #F6E272 #C8F672
triadic
#F6E272 #72F6E2 #E272F6
tetradic
#F6E272 #72F6A0 #7286F6 #F672C8
square
#F6E272 #72F6A0 #7286F6 #F672C8
split-complementary
#F6E272 #72C8F6 #A072F6
monochromatic
#DFC00E #F2D638 #F6E272 #FAEEAC #FDF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6E272#FFFFFF#000000##000000
##F6E2721.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)
#F4DD67
Deuteranopia (green-blind)
#FAE477
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e272;
/* rgb */ color: rgb(246, 226, 114);
/* oklch */ color: oklch(90.7% 0.134 99.4);
Tailwind
colors: {
  custom: {
    50: '#fcea9d',
    500: '#f6e272',
    950: '#000000',
  },
}
SCSS
$custom: #f6e272;
$custom-light: #fcea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e272",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 50.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.907,
    "c": 0.13431,
    "h": 99.4
  },
  "luminance": 0.752
}

Semantic roles & 50–950 ramp

primary
#F6E272
secondary
#3C52D1
accent
#23E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E272

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

Preview Lab → · Contrast checker → · Palette generator →

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