#F5D77B#F5D77B

#F5D77B is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.117 H 91.8°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F5D77B
RGBrgb(245, 215, 123)
HSLhsl(45, 86%, 72%)
HSVhsv(45, 50%, 96%)
CMYKcmyk(0%, 12.2%, 49.8%, 3.9%)
CIE-LABlab(86.72, -1.06, 48.90)
CIE-LCHlch(86.72, 48.91, 91.24°)
OKLaboklab(88.53% -0.0037 0.1167)
OKLCHoklch(88.53% 0.117 91.8)
XYZxyz(65.5341, 69.4463, 28.6876)
Luminance0.6944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D77B #7B99F5
analogous
#F59A7B #F5D77B #D6F57B
triadic
#F5D77B #7BF5D7 #D77BF5
tetradic
#F5D77B #7BF59A #7B99F5 #F57BD6
square
#F5D77B #7BF59A #7B99F5 #F57BD6
split-complementary
#F5D77B #7BD6F5 #9A7BF5
monochromatic
#E4B011 #F1C642 #F5D77B #F9E8B4 #FDF6E3

Accessibility & contrast

On white

1.41
#F5D77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F5D77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D77B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D77B#FFFFFF#000000##000000
##F5D77B1.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D473
Deuteranopia (green-blind)
#F0DD7E
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d77b;
/* rgb */ color: rgb(245, 215, 123);
/* oklch */ color: oklch(88.5% 0.117 91.8);
Tailwind
colors: {
  custom: {
    50: '#fbe3a3',
    500: '#f5d77b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d77b;
$custom-light: #fbe3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d77b",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 45.246,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.88527,
    "c": 0.11678,
    "h": 91.8
  },
  "luminance": 0.69443
}

Semantic roles & 50–950 ramp

primary
#F5D77B
secondary
#4466D0
accent
#3AE203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D77B

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

Preview Lab → · Contrast checker → · Palette generator →

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