#FFD757#FFD757

#FFD757 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 89.0% C 0.150 H 91.6°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#FFD757
RGBrgb(255, 215, 87)
HSLhsl(46, 100%, 67%)
HSVhsv(46, 66%, 100%)
CMYKcmyk(0%, 15.7%, 65.9%, 0%)
CIE-LABlab(87.27, 0.46, 66.11)
CIE-LCHlch(87.27, 66.11, 89.61°)
OKLaboklab(89.05% -0.0041 0.1495)
OKLCHoklch(89.05% 0.15 91.6)
XYZxyz(67.2642, 70.5528, 19.0901)
Luminance0.7055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD757 #577FFF
analogous
#FF8357 #FFD757 #D3FF57
triadic
#FFD757 #57FFD7 #D757FF
tetradic
#FFD757 #57FF83 #577FFF #FF57D3
square
#FFD757 #57FF83 #577FFF #FF57D3
split-complementary
#FFD757 #57D3FF #8357FF
monochromatic
#DCA700 #FFC81A #FFD757 #FFE694 #FFF4D1

Accessibility & contrast

On white

1.39
#FFD757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#FFD757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD757
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD757#FFFFFF#000000##000000
##FFD7571.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#F7DF5D
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ffd757;
/* rgb */ color: rgb(255, 215, 87);
/* oklch */ color: oklch(89.0% 0.150 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe38c',
    500: '#ffd757',
    950: '#000000',
  },
}
SCSS
$custom: #ffd757;
$custom-light: #ffe38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd757",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 45.714,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8905,
    "c": 0.14955,
    "h": 91.6
  },
  "luminance": 0.70549
}

Semantic roles & 50–950 ramp

primary
#FFD757
secondary
#264FD5
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD757

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

Preview Lab → · Contrast checker → · Palette generator →

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