#F5D652#F5D652

#F5D652 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.151 H 95.8°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#F5D652
RGBrgb(245, 214, 82)
HSLhsl(49, 89%, 64%)
HSVhsv(49, 67%, 96%)
CMYKcmyk(0%, 12.7%, 66.5%, 3.9%)
CIE-LABlab(86.07, -3.46, 66.62)
CIE-LCHlch(86.07, 66.71, 92.97°)
OKLaboklab(87.88% -0.0153 0.1501)
OKLCHoklch(87.88% 0.151 95.8)
XYZxyz(63.2288, 68.1180, 17.7987)
Luminance0.6812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D652 #5271F5
analogous
#F58552 #F5D652 #C3F552
triadic
#F5D652 #52F5D6 #D652F5
tetradic
#F5D652 #52F585 #5271F5 #F552C3
square
#F5D652 #52F585 #5271F5 #F552C3
split-complementary
#F5D652 #52C3F5 #8552F5
monochromatic
#C19F0B #F2C818 #F5D652 #F8E48C #FCF1C6

Accessibility & contrast

On white

1.44
#F5D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#F5D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D652
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D652#FFFFFF#000000##000000
##F5D6521.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#F3DB59
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d652;
/* rgb */ color: rgb(245, 214, 82);
/* oklch */ color: oklch(87.9% 0.151 95.8);
Tailwind
colors: {
  custom: {
    50: '#fce289',
    500: '#f5d652',
    950: '#000000',
  },
}
SCSS
$custom: #f5d652;
$custom-light: #fce289;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d652",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 48.589,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87875,
    "c": 0.15087,
    "h": 95.8
  },
  "luminance": 0.68115
}

Semantic roles & 50–950 ramp

primary
#F5D652
secondary
#2C48BF
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D652

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

Preview Lab → · Contrast checker → · Palette generator →

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