#F5D752#F5D752

#F5D752 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.152 H 96.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F5D752
RGBrgb(245, 215, 82)
HSLhsl(49, 89%, 64%)
HSVhsv(49, 67%, 96%)
CMYKcmyk(0%, 12.2%, 66.5%, 3.9%)
CIE-LABlab(86.32, -3.97, 66.88)
CIE-LCHlch(86.32, 67.00, 93.39°)
OKLaboklab(88.08% -0.0168 0.1507)
OKLCHoklch(88.08% 0.152 96.3)
XYZxyz(63.4826, 68.6257, 17.8833)
Luminance0.6862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D752 #5270F5
analogous
#F58652 #F5D752 #C2F552
triadic
#F5D752 #52F5D7 #D752F5
tetradic
#F5D752 #52F586 #5270F5 #F552C2
square
#F5D752 #52F586 #5270F5 #F552C2
split-complementary
#F5D752 #52C2F5 #8652F5
monochromatic
#C1A00B #F2CA18 #F5D752 #F8E48C #FCF2C6

Accessibility & contrast

On white

1.43
#F5D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#F5D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D752
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D752#FFFFFF#000000##000000
##F5D7521.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD241
Deuteranopia (green-blind)
#F4DC59
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d752;
/* rgb */ color: rgb(245, 215, 82);
/* oklch */ color: oklch(88.1% 0.152 96.3);
Tailwind
colors: {
  custom: {
    50: '#fce389',
    500: '#f5d752',
    950: '#000000',
  },
}
SCSS
$custom: #f5d752;
$custom-light: #fce389;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d752",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 48.957,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88075,
    "c": 0.15158,
    "h": 96.3
  },
  "luminance": 0.68623
}

Semantic roles & 50–950 ramp

primary
#F5D752
secondary
#2C47BF
accent
#2AE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D752

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

Preview Lab → · Contrast checker → · Palette generator →

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