#FFD440#FFD440

#FFD440 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.3% C 0.162 H 91.9°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#FFD440
RGBrgb(255, 212, 64)
HSLhsl(46, 100%, 63%)
HSVhsv(46, 75%, 100%)
CMYKcmyk(0%, 16.9%, 74.9%, 0%)
CIE-LABlab(86.37, 0.89, 74.00)
CIE-LCHlch(86.37, 74.01, 89.31°)
OKLaboklab(88.29% -0.0054 0.1622)
OKLCHoklch(88.29% 0.162 91.9)
XYZxyz(65.7126, 68.7211, 14.6528)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD440 #406BFF
analogous
#FF7440 #FFD440 #CBFF40
triadic
#FFD440 #40FFD4 #D440FF
tetradic
#FFD440 #40FF74 #406BFF #FF40CB
square
#FFD440 #40FF74 #406BFF #FF40CB
split-complementary
#FFD440 #40CBFF #7440FF
monochromatic
#C59800 #FFC603 #FFD440 #FFE27D #FFF0BA

Accessibility & contrast

On white

1.42
#FFD440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#FFD440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD440
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD440#FFFFFF#000000##000000
##FFD4401.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD125
Deuteranopia (green-blind)
#F6DD49
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ffd440;
/* rgb */ color: rgb(255, 212, 64);
/* oklch */ color: oklch(88.3% 0.162 91.9);
Tailwind
colors: {
  custom: {
    50: '#ffe07f',
    500: '#ffd440',
    950: '#000000',
  },
}
SCSS
$custom: #ffd440;
$custom-light: #ffe07f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd440",
  "rgb": {
    "r": 255,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 46.492,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88289,
    "c": 0.16226,
    "h": 91.9
  },
  "luminance": 0.68717
}

Semantic roles & 50–950 ramp

primary
#FFD440
secondary
#2246C1
accent
#34E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #FFD440

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

Preview Lab → · Contrast checker → · Palette generator →

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