#FFE74C#FFE74C

#FFE74C is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.168 H 100.3°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#FFE74C
RGBrgb(255, 231, 76)
HSLhsl(52, 100%, 65%)
HSVhsv(52, 70%, 100%)
CMYKcmyk(0%, 9.4%, 70.2%, 0%)
CIE-LABlab(91.21, -8.16, 74.41)
CIE-LCHlch(91.21, 74.86, 96.26°)
OKLaboklab(92.14% -0.0299 0.1652)
OKLCHoklch(92.14% 0.168 100.3)
XYZxyz(71.1237, 78.9369, 18.3261)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE74C #4C64FF
analogous
#FF8D4C #FFE74C #BEFF4C
triadic
#FFE74C #4CFFE7 #E74CFF
tetradic
#FFE74C #4CFF8D #4C64FF #FF4CBE
square
#FFE74C #4CFF8D #4C64FF #FF4CBE
split-complementary
#FFE74C #4CBEFF #8D4CFF
monochromatic
#D1B500 #FFDF0F #FFE74C #FFEF89 #FFF7C6

Accessibility & contrast

On white

1.25
#FFE74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#FFE74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE74C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE74C#FFFFFF#000000##000000
##FFE74C1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE133
Deuteranopia (green-blind)
#FFEA56
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ffe74c;
/* rgb */ color: rgb(255, 231, 76);
/* oklch */ color: oklch(92.1% 0.168 100.3);
Tailwind
colors: {
  custom: {
    50: '#ffee87',
    500: '#ffe74c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe74c;
$custom-light: #ffee87;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe74c",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 76
  },
  "hsl": {
    "h": 51.955,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92142,
    "c": 0.16792,
    "h": 100.3
  },
  "luminance": 0.78934
}

Semantic roles & 50–950 ramp

primary
#FFE74C
secondary
#243ACB
accent
#1FE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE74C

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

Preview Lab → · Contrast checker → · Palette generator →

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