#D2C243#D2C243

#D2C243 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.144 H 102.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D2C243
RGBrgb(210, 194, 67)
HSLhsl(53, 61%, 54%)
HSVhsv(53, 68%, 82%)
CMYKcmyk(0%, 7.6%, 68.1%, 17.6%)
CIE-LABlab(77.69, -8.78, 63.03)
CIE-LCHlch(77.69, 63.64, 97.93°)
OKLaboklab(80.47% -0.0301 0.1412)
OKLCHoklch(80.47% 0.144 102)
XYZxyz(46.8852, 52.6924, 13.0101)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C243 #4353D2
analogous
#D27B43 #D2C243 #9AD243
triadic
#D2C243 #43D2C2 #C243D2
tetradic
#D2C243 #43D27B #4353D2 #D2439A
square
#D2C243 #43D27B #4353D2 #D2439A
split-complementary
#D2C243 #439AD2 #7B43D2
monochromatic
#7D721E #AE9F2A #D2C243 #DED274 #EAE2A6

Accessibility & contrast

On white

1.82
#D2C243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D2C243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C243
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C243#FFFFFF#000000##000000
##D2C2431.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC31
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c243;
/* rgb */ color: rgb(210, 194, 67);
/* oklch */ color: oklch(80.5% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#e3d47e',
    500: '#d2c243',
    950: '#000000',
  },
}
SCSS
$custom: #d2c243;
$custom-light: #e3d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c243",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 67
  },
  "hsl": {
    "h": 53.287,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8047,
    "c": 0.14433,
    "h": 102
  },
  "luminance": 0.5269
}

Semantic roles & 50–950 ramp

primary
#D2C243
secondary
#353E84
accent
#55E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C243

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

Preview Lab → · Contrast checker → · Palette generator →

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