#DCC273#DCC273

#DCC273 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.103 H 91.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#DCC273
RGBrgb(220, 194, 115)
HSLhsl(45, 60%, 66%)
HSVhsv(45, 48%, 86%)
CMYKcmyk(0%, 11.8%, 47.7%, 13.7%)
CIE-LABlab(79.06, -1.07, 42.91)
CIE-LCHlch(79.06, 42.93, 91.43°)
OKLaboklab(81.92% -0.0032 0.1032)
OKLCHoklch(81.92% 0.103 91.8)
XYZxyz(51.9032, 55.0392, 24.1060)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC273 #738DDC
analogous
#DC8D73 #DCC273 #C1DC73
triadic
#DCC273 #73DCC2 #C273DC
tetradic
#DCC273 #73DC8D #738DDC #DC73C1
square
#DCC273 #73DC8D #738DDC #DC73C1
split-complementary
#DCC273 #73C1DC #8D73DC
monochromatic
#AA8A2B #D0AD42 #DCC273 #E8D7A4 #F4EDD5

Accessibility & contrast

On white

1.75
#DCC273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#DCC273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC273
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC273#FFFFFF#000000##000000
##DCC2731.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6D
Deuteranopia (green-blind)
#D8C776
Tritanopia (blue-blind)
#EAB7AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc273;
/* rgb */ color: rgb(220, 194, 115);
/* oklch */ color: oklch(81.9% 0.103 91.8);
Tailwind
colors: {
  custom: {
    50: '#e9d49d',
    500: '#dcc273',
    950: '#000000',
  },
}
SCSS
$custom: #dcc273;
$custom-light: #e9d49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc273",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 115
  },
  "hsl": {
    "h": 45.143,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81922,
    "c": 0.10322,
    "h": 91.8
  },
  "luminance": 0.55037
}

Semantic roles & 50–950 ramp

primary
#DCC273
secondary
#4760AD
accent
#48C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC273

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

Preview Lab → · Contrast checker → · Palette generator →

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