#F5CE4C#F5CE4C

#F5CE4C is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.150 H 92.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#F5CE4C
RGBrgb(245, 206, 76)
HSLhsl(46, 89%, 63%)
HSVhsv(46, 69%, 96%)
CMYKcmyk(0%, 15.9%, 69%, 3.9%)
CIE-LABlab(84.01, 0.30, 66.91)
CIE-LCHlch(84.01, 66.91, 89.74°)
OKLaboklab(86.24% -0.0052 0.1497)
OKLCHoklch(86.24% 0.15 92)
XYZxyz(61.0352, 64.0804, 15.9900)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CE4C #4C73F5
analogous
#F5794C #F5CE4C #C7F54C
triadic
#F5CE4C #4CF5CE #CE4CF5
tetradic
#F5CE4C #4CF579 #4C73F5 #F54CC7
square
#F5CE4C #4CF579 #4C73F5 #F54CC7
split-complementary
#F5CE4C #4CC7F5 #794CF5
monochromatic
#BC930B #F2BE12 #F5CE4C #F8DE86 #FBEEC0

Accessibility & contrast

On white

1.52
#F5CE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#F5CE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CE4C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CE4C#FFFFFF#000000##000000
##F5CE4C1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3A
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#FFBEB3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f5ce4c;
/* rgb */ color: rgb(245, 206, 76);
/* oklch */ color: oklch(86.2% 0.150 92.0);
Tailwind
colors: {
  custom: {
    50: '#fddc85',
    500: '#f5ce4c',
    950: '#000000',
  },
}
SCSS
$custom: #f5ce4c;
$custom-light: #fddc85;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ce4c",
  "rgb": {
    "r": 245,
    "g": 206,
    "b": 76
  },
  "hsl": {
    "h": 46.154,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86235,
    "c": 0.1498,
    "h": 92
  },
  "luminance": 0.64077
}

Semantic roles & 50–950 ramp

primary
#F5CE4C
secondary
#2B4CBA
accent
#35E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F5CE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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