#D6C13B#D6C13B

#D6C13B is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.149 H 100.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D6C13B
RGBrgb(214, 193, 59)
HSLhsl(52, 65%, 54%)
HSVhsv(52, 72%, 84%)
CMYKcmyk(0%, 9.8%, 72.4%, 16.1%)
CIE-LABlab(77.73, -6.96, 66.22)
CIE-LCHlch(77.73, 66.58, 96.00°)
OKLaboklab(80.57% -0.026 0.1463)
OKLCHoklch(80.57% 0.149 100.1)
XYZxyz(47.5932, 52.7541, 11.8125)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C13B #3B50D6
analogous
#D6733B #D6C13B #9DD63B
triadic
#D6C13B #3BD6C1 #C13BD6
tetradic
#D6C13B #3BD673 #3B50D6 #D63B9D
square
#D6C13B #3BD673 #3B50D6 #D63B9D
split-complementary
#D6C13B #3B9DD6 #733BD6
monochromatic
#7D6F1A #AF9C25 #D6C13B #E1D16E #EBE1A0

Accessibility & contrast

On white

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

On black

11.55
#D6C13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C13B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C13B#FFFFFF#000000##000000
##D6C13B1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC24
Deuteranopia (green-blind)
#D9C444
Tritanopia (blue-blind)
#E7B3A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c13b;
/* rgb */ color: rgb(214, 193, 59);
/* oklch */ color: oklch(80.6% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#e7d37a',
    500: '#d6c13b',
    950: '#000000',
  },
}
SCSS
$custom: #d6c13b;
$custom-light: #e7d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c13b",
  "rgb": {
    "r": 214,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 51.871,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80566,
    "c": 0.14863,
    "h": 100.1
  },
  "luminance": 0.52752
}

Semantic roles & 50–950 ramp

primary
#D6C13B
secondary
#313C84
accent
#56E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C13B

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

Preview Lab → · Contrast checker → · Palette generator →

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