#F5D761#F5D761

#F5D761 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.140 H 95.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#F5D761
RGBrgb(245, 215, 97)
HSLhsl(48, 88%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 12.2%, 60.4%, 3.9%)
CIE-LABlab(86.44, -3.06, 60.66)
CIE-LCHlch(86.44, 60.74, 92.89°)
OKLaboklab(88.22% -0.0124 0.1396)
OKLCHoklch(88.22% 0.14 95.1)
XYZxyz(64.1171, 68.8795, 21.2248)
Luminance0.6888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D761 #617FF5
analogous
#F58D61 #F5D761 #C9F561
triadic
#F5D761 #61F5D7 #D761F5
tetradic
#F5D761 #61F58D #617FF5 #F561C9
square
#F5D761 #61F58D #617FF5 #F561C9
split-complementary
#F5D761 #61C9F5 #8D61F5
monochromatic
#CFA70D #F1C827 #F5D761 #F9E69B #FCF4D4

Accessibility & contrast

On white

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

On black

14.78
#F5D761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D761
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D761#FFFFFF#000000##000000
##F5D7611.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD354
Deuteranopia (green-blind)
#F3DC66
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d761;
/* rgb */ color: rgb(245, 215, 97);
/* oklch */ color: oklch(88.2% 0.140 95.1);
Tailwind
colors: {
  custom: {
    50: '#fce392',
    500: '#f5d761',
    950: '#000000',
  },
}
SCSS
$custom: #f5d761;
$custom-light: #fce392;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d761",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 47.838,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88215,
    "c": 0.14016,
    "h": 95.1
  },
  "luminance": 0.68876
}

Semantic roles & 50–950 ramp

primary
#F5D761
secondary
#304FCA
accent
#2FE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D761

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

Preview Lab → · Contrast checker → · Palette generator →

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