#D3C245#D3C245

#D3C245 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.143 H 101.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D3C245
RGBrgb(211, 194, 69)
HSLhsl(53, 62%, 55%)
HSVhsv(53, 67%, 83%)
CMYKcmyk(0%, 8.1%, 67.3%, 17.3%)
CIE-LABlab(77.79, -8.25, 62.37)
CIE-LCHlch(77.79, 62.91, 97.54°)
OKLaboklab(80.58% -0.0284 0.1401)
OKLCHoklch(80.58% 0.143 101.5)
XYZxyz(47.2319, 52.8641, 13.3450)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C245 #4556D3
analogous
#D37B45 #D3C245 #9DD345
triadic
#D3C245 #45D3C2 #C245D3
tetradic
#D3C245 #45D37B #4556D3 #D3459D
square
#D3C245 #45D37B #4556D3 #D3459D
split-complementary
#D3C245 #459DD3 #7B45D3
monochromatic
#7F741E #B1A12A #D3C245 #DFD276 #EAE2A8

Accessibility & contrast

On white

1.81
#D3C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D3C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C245
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C245#FFFFFF#000000##000000
##D3C2451.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#E3B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c245;
/* rgb */ color: rgb(211, 194, 69);
/* oklch */ color: oklch(80.6% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e4d47f',
    500: '#d3c245',
    950: '#000000',
  },
}
SCSS
$custom: #d3c245;
$custom-light: #e4d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c245",
  "rgb": {
    "r": 211,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 52.817,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80576,
    "c": 0.14291,
    "h": 101.5
  },
  "luminance": 0.52862
}

Semantic roles & 50–950 ramp

primary
#D3C245
secondary
#353F87
accent
#56E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D3C245

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

Preview Lab → · Contrast checker → · Palette generator →

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