#FFD74F#FFD74F

#FFD74F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 89.0% C 0.155 H 92.3°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#FFD74F
RGBrgb(255, 215, 79)
HSLhsl(46, 100%, 65%)
HSVhsv(46, 69%, 100%)
CMYKcmyk(0%, 15.7%, 69%, 0%)
CIE-LABlab(87.21, 0.03, 69.28)
CIE-LCHlch(87.21, 69.28, 89.97°)
OKLaboklab(88.98% -0.0062 0.1549)
OKLCHoklch(88.98% 0.155 92.3)
XYZxyz(66.9552, 70.4292, 17.4632)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD74F #4F77FF
analogous
#FF7F4F #FFD74F #CFFF4F
triadic
#FFD74F #4FFFD7 #D74FFF
tetradic
#FFD74F #4FFF7F #4F77FF #FF4FCF
square
#FFD74F #4FFF7F #4F77FF #FF4FCF
split-complementary
#FFD74F #4FCFFF #7F4FFF
monochromatic
#D4A400 #FFC912 #FFD74F #FFE58C #FFF3C9

Accessibility & contrast

On white

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

On black

15.09
#FFD74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD74F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD74F#FFFFFF#000000##000000
##FFD74F1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F7DF56
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ffd74f;
/* rgb */ color: rgb(255, 215, 79);
/* oklch */ color: oklch(89.0% 0.155 92.3);
Tailwind
colors: {
  custom: {
    50: '#ffe387',
    500: '#ffd74f',
    950: '#000000',
  },
}
SCSS
$custom: #ffd74f;
$custom-light: #ffe387;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd74f",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 46.364,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88983,
    "c": 0.15502,
    "h": 92.3
  },
  "luminance": 0.70425
}

Semantic roles & 50–950 ramp

primary
#FFD74F
secondary
#244BCE
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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