#DCD25F#DCD25F

#DCD25F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.137 H 104.3°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#DCD25F
RGBrgb(220, 210, 95)
HSLhsl(55, 64%, 62%)
HSVhsv(55, 57%, 86%)
CMYKcmyk(0%, 4.5%, 56.8%, 13.7%)
CIE-LABlab(82.99, -10.95, 57.09)
CIE-LCHlch(82.99, 58.13, 100.85°)
OKLaboklab(84.96% -0.0338 0.1323)
OKLCHoklch(84.96% 0.137 104.3)
XYZxyz(54.6291, 62.1369, 19.9402)
Luminance0.6213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD25F #5F69DC
analogous
#DC945F #DCD25F #A8DC5F
triadic
#DCD25F #5FDCD2 #D25FDC
tetradic
#DCD25F #5FDC94 #5F69DC #DC5FA8
square
#DCD25F #5FDC94 #5F69DC #DC5FA8
split-complementary
#DCD25F #5FA8DC #945FDC
monochromatic
#9E9423 #D0C32E #DCD25F #E7E091 #F2EEC3

Accessibility & contrast

On white

1.56
#DCD25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#DCD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD25F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD25F#FFFFFF#000000##000000
##DCD25F1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E6D165
Tritanopia (blue-blind)
#EBC5B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd25f;
/* rgb */ color: rgb(220, 210, 95);
/* oklch */ color: oklch(85.0% 0.137 104.3);
Tailwind
colors: {
  custom: {
    50: '#e9df90',
    500: '#dcd25f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd25f;
$custom-light: #e9df90;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd25f",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 55.2,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84955,
    "c": 0.13652,
    "h": 104.3
  },
  "luminance": 0.62135
}

Semantic roles & 50–950 ramp

primary
#DCD25F
secondary
#3E46A2
accent
#28CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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