#FFDB38#FFDB38

#FFDB38 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.170 H 95.7°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#FFDB38
RGBrgb(255, 219, 56)
HSLhsl(49, 100%, 61%)
HSVhsv(49, 78%, 100%)
CMYKcmyk(0%, 14.1%, 78%, 0%)
CIE-LABlab(88.07, -2.95, 78.16)
CIE-LCHlch(88.07, 78.22, 92.16°)
OKLaboklab(89.62% -0.017 0.1695)
OKLCHoklch(89.62% 0.17 95.7)
XYZxyz(67.2890, 72.2124, 14.1348)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDB38 #385CFF
analogous
#FF7738 #FFDB38 #BFFF38
triadic
#FFDB38 #38FFDB #DB38FF
tetradic
#FFDB38 #38FF77 #385CFF #FF38BF
square
#FFDB38 #38FF77 #385CFF #FF38BF
split-complementary
#FFDB38 #38BFFF #7738FF
monochromatic
#BD9A00 #FACD00 #FFDB38 #FFE675 #FFF1B2

Accessibility & contrast

On white

1.36
#FFDB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#FFDB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDB38
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDB38#FFFFFF#000000##000000
##FFDB381.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D60C
Deuteranopia (green-blind)
#FBE243
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ffdb38;
/* rgb */ color: rgb(255, 219, 56);
/* oklch */ color: oklch(89.6% 0.170 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffe57c',
    500: '#ffdb38',
    950: '#000000',
  },
}
SCSS
$custom: #ffdb38;
$custom-light: #ffe57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdb38",
  "rgb": {
    "r": 255,
    "g": 219,
    "b": 56
  },
  "hsl": {
    "h": 49.146,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89623,
    "c": 0.17038,
    "h": 95.7
  },
  "luminance": 0.72209
}

Semantic roles & 50–950 ramp

primary
#FFDB38
secondary
#213DBA
accent
#2AE600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFDB38

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

Preview Lab → · Contrast checker → · Palette generator →

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