#D6C245#D6C245

#D6C245 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.143 H 100.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D6C245
RGBrgb(214, 194, 69)
HSLhsl(52, 64%, 55%)
HSVhsv(52, 68%, 84%)
CMYKcmyk(0%, 9.3%, 67.8%, 16.1%)
CIE-LABlab(78.06, -6.98, 62.72)
CIE-LCHlch(78.06, 63.11, 96.35°)
OKLaboklab(80.85% -0.025 0.1407)
OKLCHoklch(80.85% 0.143 100.1)
XYZxyz(48.0997, 53.3116, 13.3856)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C245 #4559D6
analogous
#D67945 #D6C245 #A2D645
triadic
#D6C245 #45D6C2 #C245D6
tetradic
#D6C245 #45D679 #4559D6 #D645A2
square
#D6C245 #45D679 #4559D6 #D645A2
split-complementary
#D6C245 #45A2D6 #7945D6
monochromatic
#84751D #B6A228 #D6C245 #E1D277 #ECE3A9

Accessibility & contrast

On white

1.80
#D6C245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#D6C245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C245
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C245#FFFFFF#000000##000000
##D6C2451.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD34
Deuteranopia (green-blind)
#DAC44C
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c245;
/* rgb */ color: rgb(214, 194, 69);
/* oklch */ color: oklch(80.8% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#e6d47f',
    500: '#d6c245',
    950: '#000000',
  },
}
SCSS
$custom: #d6c245;
$custom-light: #e6d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c245",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 51.724,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80848,
    "c": 0.14291,
    "h": 100.1
  },
  "luminance": 0.53309
}

Semantic roles & 50–950 ramp

primary
#D6C245
secondary
#35418A
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C245

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

Preview Lab → · Contrast checker → · Palette generator →

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