#F6E172#F6E172

#F6E172 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.133 H 98.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#F6E172
RGBrgb(246, 225, 114)
HSLhsl(50, 88%, 71%)
HSVhsv(50, 54%, 96%)
CMYKcmyk(0%, 8.5%, 53.7%, 3.5%)
CIE-LABlab(89.23, -6.47, 56.18)
CIE-LCHlch(89.23, 56.55, 96.57°)
OKLaboklab(90.5% -0.0204 0.1319)
OKLCHoklch(90.5% 0.133 98.8)
XYZxyz(67.9709, 74.6609, 26.7470)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E172 #7287F6
analogous
#F69F72 #F6E172 #C9F672
triadic
#F6E172 #72F6E1 #E172F6
tetradic
#F6E172 #72F69F #7287F6 #F672C9
square
#F6E172 #72F69F #7287F6 #F672C9
split-complementary
#F6E172 #72C9F6 #9F72F6
monochromatic
#DFBE0E #F2D538 #F6E172 #FAEDAC #FDF9E2

Accessibility & contrast

On white

1.32
#F6E172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#F6E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E172
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E172#FFFFFF#000000##000000
##F6E1721.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC68
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e172;
/* rgb */ color: rgb(246, 225, 114);
/* oklch */ color: oklch(90.5% 0.133 98.8);
Tailwind
colors: {
  custom: {
    50: '#fcea9d',
    500: '#f6e172',
    950: '#000000',
  },
}
SCSS
$custom: #f6e172;
$custom-light: #fcea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e172",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 50.455,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90498,
    "c": 0.13344,
    "h": 98.8
  },
  "luminance": 0.74658
}

Semantic roles & 50–950 ramp

primary
#F6E172
secondary
#3C53D1
accent
#25E501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E172

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

Preview Lab → · Contrast checker → · Palette generator →

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