#F5DF83#F5DF83

#F5DF83 is a very light, moderate yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.115 H 96.3°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#F5DF83
RGBrgb(245, 223, 131)
HSLhsl(48, 85%, 74%)
HSVhsv(48, 47%, 96%)
CMYKcmyk(0%, 9%, 46.5%, 3.9%)
CIE-LABlab(88.84, -4.40, 47.61)
CIE-LCHlch(88.84, 47.81, 95.28°)
OKLaboklab(90.23% -0.0126 0.1144)
OKLCHoklch(90.23% 0.115 96.3)
XYZxyz(68.1426, 73.8291, 32.1293)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF83 #8399F5
analogous
#F5A683 #F5DF83 #D2F583
triadic
#F5DF83 #83F5DF #DF83F5
tetradic
#F5DF83 #83F5A6 #8399F5 #F583D2
square
#F5DF83 #83F5A6 #8399F5 #F583D2
split-complementary
#F5DF83 #83D2F5 #A683F5
monochromatic
#EBC113 #F0D04A #F5DF83 #FAEEBC #FDF8E3

Accessibility & contrast

On white

1.33
#F5DF83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#F5DF83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF83
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF83#FFFFFF#000000##000000
##F5DF831.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7B
Deuteranopia (green-blind)
#F6E287
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df83;
/* rgb */ color: rgb(245, 223, 131);
/* oklch */ color: oklch(90.2% 0.115 96.3);
Tailwind
colors: {
  custom: {
    50: '#fae8a8',
    500: '#f5df83',
    950: '#000000',
  },
}
SCSS
$custom: #f5df83;
$custom-light: #fae8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df83",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 131
  },
  "hsl": {
    "h": 48.421,
    "s": 85.075,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90232,
    "c": 0.11513,
    "h": 96.3
  },
  "luminance": 0.73827
}

Semantic roles & 50–950 ramp

primary
#F5DF83
secondary
#4B65D1
accent
#2FE204
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF83

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

Preview Lab → · Contrast checker → · Palette generator →

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