#DCDC4B#DCDC4B

#DCDC4B is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.9% C 0.162 H 109.3°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DCDC4B
RGBrgb(220, 220, 75)
HSLhsl(60, 67%, 58%)
HSVhsv(60, 66%, 86%)
CMYKcmyk(0%, 0%, 65.9%, 13.7%)
CIE-LABlab(85.46, -17.21, 68.09)
CIE-LCHlch(85.46, 70.23, 104.19°)
OKLaboklab(86.87% -0.0536 0.1528)
OKLCHoklch(86.87% 0.162 109.3)
XYZxyz(56.3803, 66.9117, 16.6006)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC4B #4B4BDC
analogous
#DC934B #DCDC4B #93DC4B
triadic
#DCDC4B #4BDCDC #DC4BDC
tetradic
#DCDC4B #4BDC93 #4B4BDC #DC4B93
square
#DCDC4B #4BDC93 #4B4BDC #DC4B93
split-complementary
#DCDC4B #4B93DC #934BDC
monochromatic
#91911C #C4C426 #DCDC4B #E6E67E #F0F0B1

Accessibility & contrast

On white

1.46
#DCDC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#DCDC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC4B
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC4B#FFFFFF#000000##000000
##DCDC4B1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD336
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#EBCEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc4b;
/* rgb */ color: rgb(220, 220, 75);
/* oklch */ color: oklch(86.9% 0.162 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae685',
    500: '#dcdc4b',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc4b;
$custom-light: #eae685;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc4b",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.86873,
    "c": 0.16195,
    "h": 109.3
  },
  "luminance": 0.6691
}

Semantic roles & 50–950 ramp

primary
#DCDC4B
secondary
#363696
accent
#3DEA3D
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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