#D6C23B#D6C23B

#D6C23B is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.149 H 100.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D6C23B
RGBrgb(214, 194, 59)
HSLhsl(52, 65%, 54%)
HSVhsv(52, 72%, 84%)
CMYKcmyk(0%, 9.3%, 72.4%, 16.1%)
CIE-LABlab(77.99, -7.48, 66.47)
CIE-LCHlch(77.99, 66.89, 96.42°)
OKLaboklab(80.77% -0.0275 0.1469)
OKLCHoklch(80.77% 0.149 100.6)
XYZxyz(47.8150, 53.1977, 11.8864)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C23B #3B4FD6
analogous
#D6743B #D6C23B #9CD63B
triadic
#D6C23B #3BD6C2 #C23BD6
tetradic
#D6C23B #3BD674 #3B4FD6 #D63B9C
square
#D6C23B #3BD674 #3B4FD6 #D63B9C
split-complementary
#D6C23B #3B9CD6 #743BD6
monochromatic
#7D701A #AF9D25 #D6C23B #E1D26E #EBE2A0

Accessibility & contrast

On white

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

On black

11.64
#D6C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C23B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C23B#FFFFFF#000000##000000
##D6C23B1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#E6B4A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c23b;
/* rgb */ color: rgb(214, 194, 59);
/* oklch */ color: oklch(80.8% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#e7d47a',
    500: '#d6c23b',
    950: '#000000',
  },
}
SCSS
$custom: #d6c23b;
$custom-light: #e7d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c23b",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 52.258,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80773,
    "c": 0.14942,
    "h": 100.6
  },
  "luminance": 0.53195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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