#D6C03B#D6C03B

#D6C03B is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.148 H 99.6°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D6C03B
RGBrgb(214, 192, 59)
HSLhsl(51, 65%, 54%)
HSVhsv(51, 72%, 84%)
CMYKcmyk(0%, 10.3%, 72.4%, 16.1%)
CIE-LABlab(77.47, -6.45, 65.96)
CIE-LCHlch(77.47, 66.28, 95.58°)
OKLaboklab(80.36% -0.0245 0.1458)
OKLCHoklch(80.36% 0.148 99.6)
XYZxyz(47.3729, 52.3135, 11.7390)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C03B #3B51D6
analogous
#D6723B #D6C03B #9ED63B
triadic
#D6C03B #3BD6C0 #C03BD6
tetradic
#D6C03B #3BD672 #3B51D6 #D63B9E
square
#D6C03B #3BD672 #3B51D6 #D63B9E
split-complementary
#D6C03B #3B9ED6 #723BD6
monochromatic
#7D6F1A #AF9B25 #D6C03B #E1D06E #EBE1A0

Accessibility & contrast

On white

1.83
#D6C03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D6C03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C03B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C03B#FFFFFF#000000##000000
##D6C03B1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D9C344
Tritanopia (blue-blind)
#E7B2A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d6c03b;
/* rgb */ color: rgb(214, 192, 59);
/* oklch */ color: oklch(80.4% 0.148 99.6);
Tailwind
colors: {
  custom: {
    50: '#e7d27a',
    500: '#d6c03b',
    950: '#000000',
  },
}
SCSS
$custom: #d6c03b;
$custom-light: #e7d27a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c03b",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 51.484,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80358,
    "c": 0.14785,
    "h": 99.6
  },
  "luminance": 0.52311
}

Semantic roles & 50–950 ramp

primary
#D6C03B
secondary
#313D84
accent
#57E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C03B

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

Preview Lab → · Contrast checker → · Palette generator →

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