#F6E274#F6E274

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

Color values

HEX#F6E274
RGBrgb(246, 226, 116)
HSLhsl(51, 88%, 71%)
HSVhsv(51, 53%, 96%)
CMYKcmyk(0%, 8.1%, 52.8%, 3.5%)
CIE-LABlab(89.51, -6.81, 55.58)
CIE-LCHlch(89.51, 55.99, 96.99°)
OKLaboklab(90.72% -0.0212 0.1308)
OKLCHoklch(90.72% 0.132 99.2)
XYZxyz(68.3571, 75.2491, 27.4434)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E274 #7488F6
analogous
#F6A174 #F6E274 #C9F674
triadic
#F6E274 #74F6E2 #E274F6
tetradic
#F6E274 #74F6A1 #7488F6 #F674C9
square
#F6E274 #74F6A1 #7488F6 #F674C9
split-complementary
#F6E274 #74C9F6 #A174F6
monochromatic
#E1C10F #F2D63B #F6E274 #FAEEAD #FDF9E2

Accessibility & contrast

On white

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

On black

16.05
#F6E274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E274
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E274#FFFFFF#000000##000000
##F6E2741.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#FAE479
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e274;
/* rgb */ color: rgb(246, 226, 116);
/* oklch */ color: oklch(90.7% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#fcea9f',
    500: '#f6e274',
    950: '#000000',
  },
}
SCSS
$custom: #f6e274;
$custom-light: #fcea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e274",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 50.769,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90724,
    "c": 0.13246,
    "h": 99.2
  },
  "luminance": 0.75246
}

Semantic roles & 50–950 ramp

primary
#F6E274
secondary
#3D54D1
accent
#24E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E274

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

Preview Lab → · Contrast checker → · Palette generator →

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