#D6C43B#D6C43B

#D6C43B is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.151 H 101.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D6C43B
RGBrgb(214, 196, 59)
HSLhsl(53, 65%, 54%)
HSVhsv(53, 72%, 84%)
CMYKcmyk(0%, 8.4%, 72.4%, 16.1%)
CIE-LABlab(78.52, -8.50, 66.97)
CIE-LCHlch(78.52, 67.51, 97.23°)
OKLaboklab(81.19% -0.0304 0.148)
OKLCHoklch(81.19% 0.151 101.6)
XYZxyz(48.2631, 54.0939, 12.0358)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C43B #3B4DD6
analogous
#D6763B #D6C43B #9AD63B
triadic
#D6C43B #3BD6C4 #C43BD6
tetradic
#D6C43B #3BD676 #3B4DD6 #D63B9A
square
#D6C43B #3BD676 #3B4DD6 #D63B9A
split-complementary
#D6C43B #3B9AD6 #763BD6
monochromatic
#7D711A #AF9F25 #D6C43B #E1D36E #EBE2A0

Accessibility & contrast

On white

1.78
#D6C43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D6C43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C43B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C43B#FFFFFF#000000##000000
##D6C43B1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE23
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#E6B6A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c43b;
/* rgb */ color: rgb(214, 196, 59);
/* oklch */ color: oklch(81.2% 0.151 101.6);
Tailwind
colors: {
  custom: {
    50: '#e7d57a',
    500: '#d6c43b',
    950: '#000000',
  },
}
SCSS
$custom: #d6c43b;
$custom-light: #e7d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c43b",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 53.032,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.15103,
    "h": 101.6
  },
  "luminance": 0.54092
}

Semantic roles & 50–950 ramp

primary
#D6C43B
secondary
#313B84
accent
#53E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C43B

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

Preview Lab → · Contrast checker → · Palette generator →

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