#FFD74C#FFD74C

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

Color values

HEX#FFD74C
RGBrgb(255, 215, 76)
HSLhsl(47, 100%, 65%)
HSVhsv(47, 70%, 100%)
CMYKcmyk(0%, 15.7%, 70.2%, 0%)
CIE-LABlab(87.19, -0.11, 70.42)
CIE-LCHlch(87.19, 70.42, 90.09°)
OKLaboklab(88.96% -0.007 0.1568)
OKLCHoklch(88.96% 0.157 92.5)
XYZxyz(66.8485, 70.3865, 16.9010)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD74C #4C74FF
analogous
#FF7D4C #FFD74C #CEFF4C
triadic
#FFD74C #4CFFD7 #D74CFF
tetradic
#FFD74C #4CFF7D #4C74FF #FF4CCE
square
#FFD74C #4CFF7D #4C74FF #FF4CCE
split-complementary
#FFD74C #4CCEFF #7D4CFF
monochromatic
#D1A200 #FFC90F #FFD74C #FFE589 #FFF2C6

Accessibility & contrast

On white

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

On black

15.08
#FFD74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD74C
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD74C#FFFFFF#000000##000000
##FFD74C1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd74c;
/* rgb */ color: rgb(255, 215, 76);
/* oklch */ color: oklch(89.0% 0.157 92.5);
Tailwind
colors: {
  custom: {
    50: '#ffe286',
    500: '#ffd74c',
    950: '#000000',
  },
}
SCSS
$custom: #ffd74c;
$custom-light: #ffe286;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd74c",
  "rgb": {
    "r": 255,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 46.592,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8896,
    "c": 0.15696,
    "h": 92.5
  },
  "luminance": 0.70383
}

Semantic roles & 50–950 ramp

primary
#FFD74C
secondary
#2449CB
accent
#33E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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