#DCC75F#DCC75F

#DCC75F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.127 H 98.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#DCC75F
RGBrgb(220, 199, 95)
HSLhsl(50, 64%, 62%)
HSVhsv(50, 57%, 86%)
CMYKcmyk(0%, 9.5%, 56.8%, 13.7%)
CIE-LABlab(80.12, -5.35, 53.83)
CIE-LCHlch(80.12, 54.09, 95.67°)
OKLaboklab(82.68% -0.0177 0.1253)
OKLCHoklch(82.68% 0.127 98.1)
XYZxyz(52.0061, 56.8909, 19.0659)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC75F #5F74DC
analogous
#DC895F #DCC75F #B3DC5F
triadic
#DCC75F #5FDCC7 #C75FDC
tetradic
#DCC75F #5FDC89 #5F74DC #DC5FB3
square
#DCC75F #5FDC89 #5F74DC #DC5FB3
split-complementary
#DCC75F #5FB3DC #895FDC
monochromatic
#9E8923 #D0B52E #DCC75F #E7D991 #F2EAC3

Accessibility & contrast

On white

1.70
#DCC75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#DCC75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC75F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC75F#FFFFFF#000000##000000
##DCC75F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C255
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#EBBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc75f;
/* rgb */ color: rgb(220, 199, 95);
/* oklch */ color: oklch(82.7% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#e9d790',
    500: '#dcc75f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc75f;
$custom-light: #e9d790;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc75f",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 49.92,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82679,
    "c": 0.12653,
    "h": 98.1
  },
  "luminance": 0.56889
}

Semantic roles & 50–950 ramp

primary
#DCC75F
secondary
#3E4EA2
accent
#38CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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