#F5D65B#F5D65B

#F5D65B is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.144 H 95.1°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F5D65B
RGBrgb(245, 214, 91)
HSLhsl(48, 89%, 66%)
HSVhsv(48, 63%, 96%)
CMYKcmyk(0%, 12.7%, 62.9%, 3.9%)
CIE-LABlab(86.14, -2.93, 62.94)
CIE-LCHlch(86.14, 63.01, 92.67°)
OKLaboklab(87.96% -0.0128 0.1437)
OKLCHoklch(87.96% 0.144 95.1)
XYZxyz(63.5940, 68.2641, 19.7221)
Luminance0.6826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D65B #5B7AF5
analogous
#F5895B #F5D65B #C7F55B
triadic
#F5D65B #5BF5D6 #D65BF5
tetradic
#F5D65B #5BF589 #5B7AF5 #F55BC7
square
#F5D65B #5BF589 #5B7AF5 #F55BC7
split-complementary
#F5D65B #5BC7F5 #895BF5
monochromatic
#C9A30C #F1C821 #F5D65B #F9E495 #FCF3CE

Accessibility & contrast

On white

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

On black

14.65
#F5D65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D65B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D65B#FFFFFF#000000##000000
##F5D65B1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24D
Deuteranopia (green-blind)
#F2DC61
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d65b;
/* rgb */ color: rgb(245, 214, 91);
/* oklch */ color: oklch(88.0% 0.144 95.1);
Tailwind
colors: {
  custom: {
    50: '#fce28e',
    500: '#f5d65b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d65b;
$custom-light: #fce28e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d65b",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 91
  },
  "hsl": {
    "h": 47.922,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87956,
    "c": 0.14422,
    "h": 95.1
  },
  "luminance": 0.68261
}

Semantic roles & 50–950 ramp

primary
#F5D65B
secondary
#2E4DC6
accent
#2EE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D65B

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

Preview Lab → · Contrast checker → · Palette generator →

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