#F5D165#F5D165

#F5D165 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.1% C 0.133 H 91.0°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#F5D165
RGBrgb(245, 209, 101)
HSLhsl(45, 88%, 68%)
HSVhsv(45, 59%, 96%)
CMYKcmyk(0%, 14.7%, 58.8%, 3.9%)
CIE-LABlab(84.97, 0.28, 57.21)
CIE-LCHlch(84.97, 57.21, 89.72°)
OKLaboklab(87.07% -0.0023 0.1327)
OKLCHoklch(87.07% 0.133 91)
XYZxyz(62.8084, 65.9563, 21.7319)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D165 #6589F5
analogous
#F58965 #F5D165 #D1F565
triadic
#F5D165 #65F5D1 #D165F5
tetradic
#F5D165 #65F589 #6589F5 #F565D1
square
#F5D165 #65F589 #6589F5 #F565D1
split-complementary
#F5D165 #65D1F5 #8965F5
monochromatic
#D2A10E #F1C02C #F5D165 #F9E29E #FCF3D8

Accessibility & contrast

On white

1.48
#F5D165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#F5D165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D165
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D165#FFFFFF#000000##000000
##F5D1651.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE5A
Deuteranopia (green-blind)
#EED969
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d165;
/* rgb */ color: rgb(245, 209, 101);
/* oklch */ color: oklch(87.1% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#fcde94',
    500: '#f5d165',
    950: '#000000',
  },
}
SCSS
$custom: #f5d165;
$custom-light: #fcde94;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d165",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 45,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87066,
    "c": 0.13273,
    "h": 91
  },
  "luminance": 0.65953
}

Semantic roles & 50–950 ramp

primary
#F5D165
secondary
#3158CD
accent
#3AE401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D165

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

Preview Lab → · Contrast checker → · Palette generator →

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