#F6EF5D#F6EF5D

#F6EF5D is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.1% C 0.164 H 106.6°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F6EF5D
RGBrgb(246, 239, 93)
HSLhsl(57, 89%, 66%)
HSVhsv(57, 62%, 96%)
CMYKcmyk(0%, 2.8%, 62.2%, 3.5%)
CIE-LABlab(92.63, -14.87, 69.10)
CIE-LCHlch(92.63, 70.68, 102.14°)
OKLaboklab(93.13% -0.0466 0.157)
OKLCHoklch(93.13% 0.164 106.6)
XYZxyz(70.8508, 82.1185, 22.4721)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EF5D #5D64F6
analogous
#F6A35D #F6EF5D #B1F65D
triadic
#F6EF5D #5DF6EF #EF5DF6
tetradic
#F6EF5D #5DF6A3 #5D64F6 #F65DB1
square
#F6EF5D #5DF6A3 #5D64F6 #F65DB1
split-complementary
#F6EF5D #5DB1F6 #A35DF6
monochromatic
#CDC40B #F3E923 #F6EF5D #F9F597 #FCFAD1

Accessibility & contrast

On white

1.21
#F6EF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#F6EF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EF5D
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EF5D#FFFFFF#000000##000000
##F6EF5D1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64B
Deuteranopia (green-blind)
#FFED66
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f6ef5d;
/* rgb */ color: rgb(246, 239, 93);
/* oklch */ color: oklch(93.1% 0.164 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcf491',
    500: '#f6ef5d',
    950: '#000000',
  },
}
SCSS
$custom: #f6ef5d;
$custom-light: #fcf491;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ef5d",
  "rgb": {
    "r": 246,
    "g": 239,
    "b": 93
  },
  "hsl": {
    "h": 57.255,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93132,
    "c": 0.16374,
    "h": 106.6
  },
  "luminance": 0.82116
}

Semantic roles & 50–950 ramp

primary
#F6EF5D
secondary
#2E35C9
accent
#0AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6EF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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