#F5ED7B#F5ED7B

#F5ED7B is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.136 H 105.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F5ED7B
RGBrgb(245, 237, 123)
HSLhsl(56, 86%, 72%)
HSVhsv(56, 50%, 96%)
CMYKcmyk(0%, 3.3%, 49.8%, 3.9%)
CIE-LABlab(92.32, -12.10, 55.63)
CIE-LCHlch(92.32, 56.93, 102.27°)
OKLaboklab(92.96% -0.0356 0.1315)
OKLCHoklch(92.96% 0.136 105.1)
XYZxyz(71.5174, 81.4130, 30.6820)
Luminance0.8141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED7B #7B83F5
analogous
#F5B07B #F5ED7B #C0F57B
triadic
#F5ED7B #7BF5ED #ED7BF5
tetradic
#F5ED7B #7BF5B0 #7B83F5 #F57BC0
square
#F5ED7B #7BF5B0 #7B83F5 #F57BC0
split-complementary
#F5ED7B #7BC0F5 #B07BF5
monochromatic
#E4D611 #F1E542 #F5ED7B #F9F5B4 #FDFBE3

Accessibility & contrast

On white

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

On black

17.28
#F5ED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED7B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED7B#FFFFFF#000000##000000
##F5ED7B1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ed7b;
/* rgb */ color: rgb(245, 237, 123);
/* oklch */ color: oklch(93.0% 0.136 105.1);
Tailwind
colors: {
  custom: {
    50: '#fbf2a4',
    500: '#f5ed7b',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed7b;
$custom-light: #fbf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed7b",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 56.066,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92955,
    "c": 0.13625,
    "h": 105.1
  },
  "luminance": 0.81411
}

Semantic roles & 50–950 ramp

primary
#F5ED7B
secondary
#444DD0
accent
#12E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5ED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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