#F5ED6B#F5ED6B

#F5ED6B is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.8% C 0.151 H 105.7°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F5ED6B
RGBrgb(245, 237, 107)
HSLhsl(57, 87%, 69%)
HSVhsv(57, 56%, 96%)
CMYKcmyk(0%, 3.3%, 56.3%, 3.9%)
CIE-LABlab(92.15, -13.36, 62.66)
CIE-LCHlch(92.15, 64.07, 102.04°)
OKLaboklab(92.77% -0.0408 0.1451)
OKLCHoklch(92.77% 0.151 105.7)
XYZxyz(70.5964, 81.0446, 25.8315)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED6B #6B73F5
analogous
#F5A86B #F5ED6B #B8F56B
triadic
#F5ED6B #6BF5ED #ED6BF5
tetradic
#F5ED6B #6BF5A8 #6B73F5 #F56BB8
square
#F5ED6B #6BF5A8 #6B73F5 #F56BB8
split-complementary
#F5ED6B #6BB8F5 #A86BF5
monochromatic
#D7CB0F #F1E632 #F5ED6B #F9F4A4 #FDFBDE

Accessibility & contrast

On white

1.22
#F5ED6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F5ED6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED6B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED6B#FFFFFF#000000##000000
##F5ED6B1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55D
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed6b;
/* rgb */ color: rgb(245, 237, 107);
/* oklch */ color: oklch(92.8% 0.151 105.7);
Tailwind
colors: {
  custom: {
    50: '#fbf299',
    500: '#f5ed6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed6b;
$custom-light: #fbf299;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed6b",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 107
  },
  "hsl": {
    "h": 56.522,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92773,
    "c": 0.15073,
    "h": 105.7
  },
  "luminance": 0.81042
}

Semantic roles & 50–950 ramp

primary
#F5ED6B
secondary
#363FCE
accent
#0FE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED6B

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

Preview Lab → · Contrast checker → · Palette generator →

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