#F6E45F#F6E45F

#F6E45F is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.9% C 0.152 H 101.6°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F6E45F
RGBrgb(246, 228, 95)
HSLhsl(53, 89%, 67%)
HSVhsv(53, 61%, 96%)
CMYKcmyk(0%, 7.3%, 61.4%, 3.5%)
CIE-LABlab(89.82, -9.32, 65.25)
CIE-LCHlch(89.82, 65.92, 98.12°)
OKLaboklab(90.9% -0.0307 0.1491)
OKLCHoklch(90.9% 0.152 101.6)
XYZxyz(67.8176, 75.9086, 21.9038)
Luminance0.7591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E45F #5F71F6
analogous
#F6995F #F6E45F #BCF65F
triadic
#F6E45F #5FF6E4 #E45FF6
tetradic
#F6E45F #5FF699 #5F71F6 #F65FBC
square
#F6E45F #5FF699 #5F71F6 #F65FBC
split-complementary
#F6E45F #5FBCF6 #995FF6
monochromatic
#CFB80C #F3DA25 #F6E45F #F9EE99 #FDF8D3

Accessibility & contrast

On white

1.30
#F6E45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#F6E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E45F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E45F#FFFFFF#000000##000000
##F6E45F1.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE50
Deuteranopia (green-blind)
#FDE566
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e45f;
/* rgb */ color: rgb(246, 228, 95);
/* oklch */ color: oklch(90.9% 0.152 101.6);
Tailwind
colors: {
  custom: {
    50: '#fcec92',
    500: '#f6e45f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e45f;
$custom-light: #fcec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e45f",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 52.848,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.90902,
    "c": 0.15221,
    "h": 101.6
  },
  "luminance": 0.75906
}

Semantic roles & 50–950 ramp

primary
#F6E45F
secondary
#2F41CB
accent
#1BE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F6E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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