#FFDC38#FFDC38

#FFDC38 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.171 H 96.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#FFDC38
RGBrgb(255, 220, 56)
HSLhsl(49, 100%, 61%)
HSVhsv(49, 78%, 100%)
CMYKcmyk(0%, 13.7%, 78%, 0%)
CIE-LABlab(88.32, -3.46, 78.39)
CIE-LCHlch(88.32, 78.46, 92.53°)
OKLaboklab(89.82% -0.0185 0.17)
OKLCHoklch(89.82% 0.171 96.2)
XYZxyz(67.5507, 72.7357, 14.2220)
Luminance0.7273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDC38 #385BFF
analogous
#FF7838 #FFDC38 #BFFF38
triadic
#FFDC38 #38FFDC #DC38FF
tetradic
#FFDC38 #38FF78 #385BFF #FF38BF
square
#FFDC38 #38FF78 #385BFF #FF38BF
split-complementary
#FFDC38 #38BFFF #7838FF
monochromatic
#BD9B00 #FACE00 #FFDC38 #FFE775 #FFF2B2

Accessibility & contrast

On white

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

On black

15.55
#FFDC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDC38
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDC38#FFFFFF#000000##000000
##FFDC381.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D70B
Deuteranopia (green-blind)
#FCE244
Tritanopia (blue-blind)
#FFCABD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffdc38;
/* rgb */ color: rgb(255, 220, 56);
/* oklch */ color: oklch(89.8% 0.171 96.2);
Tailwind
colors: {
  custom: {
    50: '#ffe67c',
    500: '#ffdc38',
    950: '#000000',
  },
}
SCSS
$custom: #ffdc38;
$custom-light: #ffe67c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdc38",
  "rgb": {
    "r": 255,
    "g": 220,
    "b": 56
  },
  "hsl": {
    "h": 49.447,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89821,
    "c": 0.17102,
    "h": 96.2
  },
  "luminance": 0.72732
}

Semantic roles & 50–950 ramp

primary
#FFDC38
secondary
#213CBA
accent
#28E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFDC38

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

Preview Lab → · Contrast checker → · Palette generator →

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