#FFE74B#FFE74B

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

Color values

HEX#FFE74B
RGBrgb(255, 231, 75)
HSLhsl(52, 100%, 65%)
HSVhsv(52, 71%, 100%)
CMYKcmyk(0%, 9.4%, 70.6%, 0%)
CIE-LABlab(91.20, -8.20, 74.77)
CIE-LCHlch(91.20, 75.22, 96.26°)
OKLaboklab(92.14% -0.0301 0.1658)
OKLCHoklch(92.14% 0.169 100.3)
XYZxyz(71.0892, 78.9231, 18.1444)
Luminance0.7892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE74B #4B63FF
analogous
#FF8D4B #FFE74B #BDFF4B
triadic
#FFE74B #4BFFE7 #E74BFF
tetradic
#FFE74B #4BFF8D #4B63FF #FF4BBD
square
#FFE74B #4BFF8D #4B63FF #FF4BBD
split-complementary
#FFE74B #4BBDFF #8D4BFF
monochromatic
#D0B400 #FFDF0E #FFE74B #FFEF88 #FFF7C5

Accessibility & contrast

On white

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

On black

16.78
#FFE74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE74B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE74B#FFFFFF#000000##000000
##FFE74B1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE132
Deuteranopia (green-blind)
#FFEA55
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ffe74b;
/* rgb */ color: rgb(255, 231, 75);
/* oklch */ color: oklch(92.1% 0.169 100.3);
Tailwind
colors: {
  custom: {
    50: '#ffee87',
    500: '#ffe74b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe74b;
$custom-light: #ffee87;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe74b",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 75
  },
  "hsl": {
    "h": 52,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92135,
    "c": 0.16854,
    "h": 100.3
  },
  "luminance": 0.7892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE74B

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

Preview Lab → · Contrast checker → · Palette generator →

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