#F5DC68#F5DC68

#F5DC68 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.138 H 97.3°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F5DC68
RGBrgb(245, 220, 104)
HSLhsl(49, 88%, 68%)
HSVhsv(49, 58%, 96%)
CMYKcmyk(0%, 10.2%, 57.6%, 3.9%)
CIE-LABlab(87.78, -5.11, 59.04)
CIE-LCHlch(87.78, 59.26, 94.94°)
OKLaboklab(89.29% -0.0175 0.137)
OKLCHoklch(89.29% 0.138 97.3)
XYZxyz(65.7507, 71.6012, 23.4511)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC68 #6881F5
analogous
#F59568 #F5DC68 #C7F568
triadic
#F5DC68 #68F5DC #DC68F5
tetradic
#F5DC68 #68F595 #6881F5 #F568C7
square
#F5DC68 #68F595 #6881F5 #F568C7
split-complementary
#F5DC68 #68C7F5 #9568F5
monochromatic
#D5B10E #F1CF2F #F5DC68 #F9E9A1 #FDF7DB

Accessibility & contrast

On white

1.37
#F5DC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#F5DC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC68
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC68#FFFFFF#000000##000000
##F5DC681.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75C
Deuteranopia (green-blind)
#F6E06D
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc68;
/* rgb */ color: rgb(245, 220, 104);
/* oklch */ color: oklch(89.3% 0.138 97.3);
Tailwind
colors: {
  custom: {
    50: '#fbe697',
    500: '#f5dc68',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc68;
$custom-light: #fbe697;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc68",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 49.362,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89291,
    "c": 0.13811,
    "h": 97.3
  },
  "luminance": 0.71598
}

Semantic roles & 50–950 ramp

primary
#F5DC68
secondary
#334FCE
accent
#2AE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC68

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

Preview Lab → · Contrast checker → · Palette generator →

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