#F5DC67#F5DC67

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

Color values

HEX#F5DC67
RGBrgb(245, 220, 103)
HSLhsl(49, 88%, 68%)
HSVhsv(49, 58%, 96%)
CMYKcmyk(0%, 10.2%, 58%, 3.9%)
CIE-LABlab(87.77, -5.18, 59.48)
CIE-LCHlch(87.77, 59.70, 94.97°)
OKLaboklab(89.28% -0.0178 0.1378)
OKLCHoklch(89.28% 0.139 97.4)
XYZxyz(65.7002, 71.5810, 23.1852)
Luminance0.7158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC67 #6780F5
analogous
#F59567 #F5DC67 #C7F567
triadic
#F5DC67 #67F5DC #DC67F5
tetradic
#F5DC67 #67F595 #6780F5 #F567C7
square
#F5DC67 #67F595 #6780F5 #F567C7
split-complementary
#F5DC67 #67C7F5 #9567F5
monochromatic
#D4B10E #F1CF2E #F5DC67 #F9E9A0 #FDF6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DC67#FFFFFF#000000##000000
##F5DC671.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)
#EFD75B
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc67;
/* rgb */ color: rgb(245, 220, 103);
/* oklch */ color: oklch(89.3% 0.139 97.4);
Tailwind
colors: {
  custom: {
    50: '#fbe696',
    500: '#f5dc67',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc67;
$custom-light: #fbe696;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc67",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 103
  },
  "hsl": {
    "h": 49.437,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8928,
    "c": 0.13896,
    "h": 97.4
  },
  "luminance": 0.71578
}

Semantic roles & 50–950 ramp

primary
#F5DC67
secondary
#324ECE
accent
#29E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DC67

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

Preview Lab → · Contrast checker → · Palette generator →

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