#F6E85F#F6E85F

#F6E85F is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.156 H 103.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F6E85F
RGBrgb(246, 232, 95)
HSLhsl(54, 89%, 67%)
HSVhsv(54, 61%, 96%)
CMYKcmyk(0%, 5.7%, 61.4%, 3.5%)
CIE-LABlab(90.84, -11.30, 66.36)
CIE-LCHlch(90.84, 67.32, 99.66°)
OKLaboklab(91.72% -0.0363 0.1514)
OKLCHoklch(91.72% 0.156 103.5)
XYZxyz(68.9308, 78.1349, 22.2748)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E85F #5F6DF6
analogous
#F69D5F #F6E85F #B9F65F
triadic
#F6E85F #5FF6E8 #E85FF6
tetradic
#F6E85F #5FF69D #5F6DF6 #F65FB9
square
#F6E85F #5FF69D #5F6DF6 #F65FB9
split-complementary
#F6E85F #5FB9F6 #9D5FF6
monochromatic
#CFBD0C #F3E025 #F6E85F #F9F099 #FDF9D3

Accessibility & contrast

On white

1.26
#F6E85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F6E85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E85F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E85F#FFFFFF#000000##000000
##F6E85F1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE14F
Deuteranopia (green-blind)
#FFE867
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e85f;
/* rgb */ color: rgb(246, 232, 95);
/* oklch */ color: oklch(91.7% 0.156 103.5);
Tailwind
colors: {
  custom: {
    50: '#fcef92',
    500: '#f6e85f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e85f;
$custom-light: #fcef92;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e85f",
  "rgb": {
    "r": 246,
    "g": 232,
    "b": 95
  },
  "hsl": {
    "h": 54.437,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91716,
    "c": 0.15573,
    "h": 103.5
  },
  "luminance": 0.78132
}

Semantic roles & 50–950 ramp

primary
#F6E85F
secondary
#2F3DCB
accent
#15E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6E85F

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

Preview Lab → · Contrast checker → · Palette generator →

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