#F5D76B#F5D76B

#F5D76B is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.132 H 94.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F5D76B
RGBrgb(245, 215, 107)
HSLhsl(47, 87%, 69%)
HSVhsv(47, 56%, 96%)
CMYKcmyk(0%, 12.2%, 56.3%, 3.9%)
CIE-LABlab(86.54, -2.35, 56.26)
CIE-LCHlch(86.54, 56.31, 92.40°)
OKLaboklab(88.33% -0.0092 0.1313)
OKLCHoklch(88.33% 0.132 94)
XYZxyz(64.6131, 69.0779, 23.8370)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D76B #6B89F5
analogous
#F5926B #F5D76B #CEF56B
triadic
#F5D76B #6BF5D7 #D76BF5
tetradic
#F5D76B #6BF592 #6B89F5 #F56BCE
square
#F5D76B #6BF592 #6B89F5 #F56BCE
split-complementary
#F5D76B #6BCEF5 #926BF5
monochromatic
#D7AB0F #F1C832 #F5D76B #F9E6A4 #FDF6DE

Accessibility & contrast

On white

1.42
#F5D76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F5D76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D76B
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D76B#FFFFFF#000000##000000
##F5D76B1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD361
Deuteranopia (green-blind)
#F2DD70
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d76b;
/* rgb */ color: rgb(245, 215, 107);
/* oklch */ color: oklch(88.3% 0.132 94.0);
Tailwind
colors: {
  custom: {
    50: '#fbe398',
    500: '#f5d76b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d76b;
$custom-light: #fbe398;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d76b",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 46.957,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88325,
    "c": 0.13166,
    "h": 94
  },
  "luminance": 0.69075
}

Semantic roles & 50–950 ramp

primary
#F5D76B
secondary
#3657CE
accent
#33E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D76B

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

Preview Lab → · Contrast checker → · Palette generator →

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