#DCC25F#DCC25F

#DCC25F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.123 H 94.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DCC25F
RGBrgb(220, 194, 95)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 57%, 86%)
CMYKcmyk(0%, 11.8%, 56.8%, 13.7%)
CIE-LABlab(78.83, -2.77, 52.35)
CIE-LCHlch(78.83, 52.42, 93.03°)
OKLaboklab(81.66% -0.0103 0.1221)
OKLCHoklch(81.66% 0.123 94.8)
XYZxyz(50.8746, 54.6278, 18.6887)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC25F #5F79DC
analogous
#DC845F #DCC25F #B8DC5F
triadic
#DCC25F #5FDCC2 #C25FDC
tetradic
#DCC25F #5FDC84 #5F79DC #DC5FB8
square
#DCC25F #5FDC84 #5F79DC #DC5FB8
split-complementary
#DCC25F #5FB8DC #845FDC
monochromatic
#9E8423 #D0AE2E #DCC25F #E7D591 #F2E8C3

Accessibility & contrast

On white

1.76
#DCC25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DCC25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC25F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC25F#FFFFFF#000000##000000
##DCC25F1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#ECB5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc25f;
/* rgb */ color: rgb(220, 194, 95);
/* oklch */ color: oklch(81.7% 0.123 94.8);
Tailwind
colors: {
  custom: {
    50: '#ead48f',
    500: '#dcc25f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc25f;
$custom-light: #ead48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc25f",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 95
  },
  "hsl": {
    "h": 47.52,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.12251,
    "h": 94.8
  },
  "luminance": 0.54625
}

Semantic roles & 50–950 ramp

primary
#DCC25F
secondary
#3E52A2
accent
#3FCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC25F

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

Preview Lab → · Contrast checker → · Palette generator →

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