#F6D45F#F6D45F

#F6D45F is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.7% C 0.140 H 93.1°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#F6D45F
RGBrgb(246, 212, 95)
HSLhsl(46, 89%, 67%)
HSVhsv(46, 61%, 96%)
CMYKcmyk(0%, 13.8%, 61.4%, 3.5%)
CIE-LABlab(85.76, -1.25, 60.81)
CIE-LCHlch(85.76, 60.83, 91.18°)
OKLaboklab(87.69% -0.0075 0.1396)
OKLCHoklch(87.69% 0.14 93.1)
XYZxyz(63.6180, 67.5093, 20.5039)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D45F #5F81F6
analogous
#F6895F #F6D45F #CDF65F
triadic
#F6D45F #5FF6D4 #D45FF6
tetradic
#F6D45F #5FF689 #5F81F6 #F65FCD
square
#F6D45F #5FF689 #5F81F6 #F65FCD
split-complementary
#F6D45F #5FCDF6 #895FF6
monochromatic
#CFA30C #F3C425 #F6D45F #F9E499 #FDF3D3

Accessibility & contrast

On white

1.45
#F6D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#F6D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D45F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D45F#FFFFFF#000000##000000
##F6D45F1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D152
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f6d45f;
/* rgb */ color: rgb(246, 212, 95);
/* oklch */ color: oklch(87.7% 0.140 93.1);
Tailwind
colors: {
  custom: {
    50: '#fce091',
    500: '#f6d45f',
    950: '#000000',
  },
}
SCSS
$custom: #f6d45f;
$custom-light: #fce091;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d45f",
  "rgb": {
    "r": 246,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 46.49,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8769,
    "c": 0.13984,
    "h": 93.1
  },
  "luminance": 0.67506
}

Semantic roles & 50–950 ramp

primary
#F6D45F
secondary
#2F52CB
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F6D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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