#D2C146#D2C146

#D2C146 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.141 H 101.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D2C146
RGBrgb(210, 193, 70)
HSLhsl(53, 61%, 55%)
HSVhsv(53, 67%, 82%)
CMYKcmyk(0%, 8.1%, 66.7%, 17.6%)
CIE-LABlab(77.45, -8.11, 61.59)
CIE-LCHlch(77.45, 62.12, 97.50°)
OKLaboklab(80.29% -0.0279 0.1386)
OKLCHoklch(80.29% 0.141 101.4)
XYZxyz(46.7558, 52.2858, 13.4225)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C146 #4657D2
analogous
#D27B46 #D2C146 #9DD246
triadic
#D2C146 #46D2C1 #C146D2
tetradic
#D2C146 #46D27B #4657D2 #D2469D
square
#D2C146 #46D27B #4657D2 #D2469D
split-complementary
#D2C146 #469DD2 #7B46D2
monochromatic
#7F731F #B0A02B #D2C146 #DED177 #EAE2A8

Accessibility & contrast

On white

1.83
#D2C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D2C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C146
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C146#FFFFFF#000000##000000
##D2C1461.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#E2B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c146;
/* rgb */ color: rgb(210, 193, 70);
/* oklch */ color: oklch(80.3% 0.141 101.4);
Tailwind
colors: {
  custom: {
    50: '#e3d380',
    500: '#d2c146',
    950: '#000000',
  },
}
SCSS
$custom: #d2c146;
$custom-light: #e3d380;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c146",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 52.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.14136,
    "h": 101.4
  },
  "luminance": 0.52284
}

Semantic roles & 50–950 ramp

primary
#D2C146
secondary
#364086
accent
#57E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C146

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

Preview Lab → · Contrast checker → · Palette generator →

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