#F5D679#F5D679

#F5D679 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.3% C 0.118 H 91.4°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#F5D679
RGBrgb(245, 214, 121)
HSLhsl(45, 86%, 72%)
HSVhsv(45, 51%, 96%)
CMYKcmyk(0%, 12.7%, 50.6%, 3.9%)
CIE-LABlab(86.45, -0.72, 49.53)
CIE-LCHlch(86.45, 49.53, 90.84°)
OKLaboklab(88.3% -0.003 0.118)
OKLCHoklch(88.3% 0.118 91.4)
XYZxyz(65.1563, 68.8891, 27.9503)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D679 #7998F5
analogous
#F59879 #F5D679 #D6F579
triadic
#F5D679 #79F5D6 #D679F5
tetradic
#F5D679 #79F598 #7998F5 #F579D6
square
#F5D679 #79F598 #7998F5 #F579D6
split-complementary
#F5D679 #79D6F5 #9879F5
monochromatic
#E3AE11 #F1C540 #F5D679 #F9E7B2 #FDF6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D679#FFFFFF#000000##000000
##F5D6791.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)
#E8D371
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d679;
/* rgb */ color: rgb(245, 214, 121);
/* oklch */ color: oklch(88.3% 0.118 91.4);
Tailwind
colors: {
  custom: {
    50: '#fbe2a1',
    500: '#f5d679',
    950: '#000000',
  },
}
SCSS
$custom: #f5d679;
$custom-light: #fbe2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d679",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 121
  },
  "hsl": {
    "h": 45,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88302,
    "c": 0.118,
    "h": 91.4
  },
  "luminance": 0.68886
}

Semantic roles & 50–950 ramp

primary
#F5D679
secondary
#4266D0
accent
#3BE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D679

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

Preview Lab → · Contrast checker → · Palette generator →

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