#F5EF6F#F5EF6F

#F5EF6F is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.149 H 106.5°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F5EF6F
RGBrgb(245, 239, 111)
HSLhsl(57, 87%, 70%)
HSVhsv(57, 55%, 96%)
CMYKcmyk(0%, 2.4%, 54.7%, 3.9%)
CIE-LABlab(92.70, -14.05, 61.52)
CIE-LCHlch(92.70, 63.11, 102.86°)
OKLaboklab(93.23% -0.0424 0.1431)
OKLCHoklch(93.23% 0.149 106.5)
XYZxyz(71.3940, 82.2953, 27.1596)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF6F #6F75F5
analogous
#F5AC6F #F5EF6F #B8F56F
triadic
#F5EF6F #6FF5EF #EF6FF5
tetradic
#F5EF6F #6FF5AC #6F75F5 #F56FB8
square
#F5EF6F #6FF5AC #6F75F5 #F56FB8
split-complementary
#F5EF6F #6FB8F5 #AC6FF5
monochromatic
#DAD10F #F1E936 #F5EF6F #F9F5A8 #FDFCE1

Accessibility & contrast

On white

1.20
#F5EF6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F5EF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF6F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF6F#FFFFFF#000000##000000
##F5EF6F1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFED76
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef6f;
/* rgb */ color: rgb(245, 239, 111);
/* oklch */ color: oklch(93.2% 0.149 106.5);
Tailwind
colors: {
  custom: {
    50: '#fbf49c',
    500: '#f5ef6f',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef6f;
$custom-light: #fbf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef6f",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 111
  },
  "hsl": {
    "h": 57.313,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93225,
    "c": 0.14925,
    "h": 106.5
  },
  "luminance": 0.82293
}

Semantic roles & 50–950 ramp

primary
#F5EF6F
secondary
#3940CF
accent
#0CE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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