#FFDB51#FFDB51

#FFDB51 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.8% C 0.156 H 94.2°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#FFDB51
RGBrgb(255, 219, 81)
HSLhsl(48, 100%, 66%)
HSVhsv(48, 68%, 100%)
CMYKcmyk(0%, 14.1%, 68.2%, 0%)
CIE-LABlab(88.22, -1.90, 69.52)
CIE-LCHlch(88.22, 69.55, 91.56°)
OKLaboklab(89.79% -0.0115 0.1558)
OKLCHoklch(89.79% 0.156 94.2)
XYZxyz(68.0602, 72.5208, 18.1960)
Luminance0.7252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDB51 #5175FF
analogous
#FF8451 #FFDB51 #CCFF51
triadic
#FFDB51 #51FFDB #DB51FF
tetradic
#FFDB51 #51FF84 #5175FF #FF51CC
square
#FFDB51 #51FF84 #5175FF #FF51CC
split-complementary
#FFDB51 #51CCFF #8451FF
monochromatic
#D6A900 #FFCE14 #FFDB51 #FFE88E #FFF4CB

Accessibility & contrast

On white

1.35
#FFDB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#FFDB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDB51
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDB51#FFFFFF#000000##000000
##FFDB511.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#FAE258
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffdb51;
/* rgb */ color: rgb(255, 219, 81);
/* oklch */ color: oklch(89.8% 0.156 94.2);
Tailwind
colors: {
  custom: {
    50: '#ffe589',
    500: '#ffdb51',
    950: '#000000',
  },
}
SCSS
$custom: #ffdb51;
$custom-light: #ffe589;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdb51",
  "rgb": {
    "r": 255,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 47.586,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89787,
    "c": 0.15618,
    "h": 94.2
  },
  "luminance": 0.72517
}

Semantic roles & 50–950 ramp

primary
#FFDB51
secondary
#2548D0
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFDB51

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

Preview Lab → · Contrast checker → · Palette generator →

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