#DCD54B#DCD54B

#DCD54B is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.4% C 0.155 H 106.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DCD54B
RGBrgb(220, 213, 75)
HSLhsl(57, 67%, 58%)
HSVhsv(57, 66%, 86%)
CMYKcmyk(0%, 3.2%, 65.9%, 13.7%)
CIE-LABlab(83.61, -13.74, 66.19)
CIE-LCHlch(83.61, 67.61, 101.73°)
OKLaboklab(85.4% -0.0439 0.1488)
OKLCHoklch(85.4% 0.155 106.4)
XYZxyz(54.5815, 63.3140, 16.0009)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD54B #4B52DC
analogous
#DC8C4B #DCD54B #9BDC4B
triadic
#DCD54B #4BDCD5 #D54BDC
tetradic
#DCD54B #4BDC8C #4B52DC #DC4B9B
square
#DCD54B #4BDC8C #4B52DC #DC4B9B
split-complementary
#DCD54B #4B9BDC #8C4BDC
monochromatic
#918B1C #C4BC26 #DCD54B #E6E17E #F0EDB1

Accessibility & contrast

On white

1.54
#DCD54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#DCD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD54B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD54B#FFFFFF#000000##000000
##DCD54B1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#EAD354
Tritanopia (blue-blind)
#ECC7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd54b;
/* rgb */ color: rgb(220, 213, 75);
/* oklch */ color: oklch(85.4% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae184',
    500: '#dcd54b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd54b;
$custom-light: #eae184;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd54b",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 57.103,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85396,
    "c": 0.15516,
    "h": 106.4
  },
  "luminance": 0.63312
}

Semantic roles & 50–950 ramp

primary
#DCD54B
secondary
#363A96
accent
#46EA3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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