#F6EA5F#F6EA5F

#F6EA5F is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.158 H 104.4°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F6EA5F
RGBrgb(246, 234, 95)
HSLhsl(55, 89%, 67%)
HSVhsv(55, 61%, 96%)
CMYKcmyk(0%, 4.9%, 61.4%, 3.5%)
CIE-LABlab(91.36, -12.29, 66.92)
CIE-LCHlch(91.36, 68.04, 100.41°)
OKLaboklab(92.13% -0.0391 0.1526)
OKLCHoklch(92.13% 0.158 104.4)
XYZxyz(69.4969, 79.2672, 22.4636)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EA5F #5F6BF6
analogous
#F69F5F #F6EA5F #B7F65F
triadic
#F6EA5F #5FF6EA #EA5FF6
tetradic
#F6EA5F #5FF69F #5F6BF6 #F65FB7
square
#F6EA5F #5FF69F #5F6BF6 #F65FB7
split-complementary
#F6EA5F #5FB7F6 #9F5FF6
monochromatic
#CFBF0C #F3E225 #F6EA5F #F9F299 #FDF9D3

Accessibility & contrast

On white

1.25
#F6EA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F6EA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EA5F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EA5F#FFFFFF#000000##000000
##F6EA5F1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24F
Deuteranopia (green-blind)
#FFE967
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f6ea5f;
/* rgb */ color: rgb(246, 234, 95);
/* oklch */ color: oklch(92.1% 0.158 104.4);
Tailwind
colors: {
  custom: {
    50: '#fcf092',
    500: '#f6ea5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6ea5f;
$custom-light: #fcf092;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ea5f",
  "rgb": {
    "r": 246,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 55.232,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92125,
    "c": 0.15756,
    "h": 104.4
  },
  "luminance": 0.79265
}

Semantic roles & 50–950 ramp

primary
#F6EA5F
secondary
#2F3BCB
accent
#12E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6EA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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