#D6AF34#D6AF34

#D6AF34 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.141 H 90.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D6AF34
RGBrgb(214, 175, 52)
HSLhsl(46, 66%, 52%)
HSVhsv(46, 76%, 84%)
CMYKcmyk(0%, 18.2%, 75.7%, 16.1%)
CIE-LABlab(73.03, 2.12, 64.26)
CIE-LCHlch(73.03, 64.29, 88.11°)
OKLaboklab(76.83% -0.0009 0.1408)
OKLCHoklch(76.83% 0.141 90.4)
XYZxyz(43.6839, 45.2068, 9.6731)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6AF34 #345BD6
analogous
#D65E34 #D6AF34 #ACD634
triadic
#D6AF34 #34D6AF #AF34D6
tetradic
#D6AF34 #34D65E #345BD6 #D634AC
square
#D6AF34 #34D65E #345BD6 #D634AC
split-complementary
#D6AF34 #34ACD6 #5E34D6
monochromatic
#776118 #AA8A22 #D6AF34 #E0C367 #EBD79A

Accessibility & contrast

On white

2.09
#D6AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D6AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6AF34
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6AF34#FFFFFF#000000##000000
##D6AF341.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1E
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#E8A097
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d6af34;
/* rgb */ color: rgb(214, 175, 52);
/* oklch */ color: oklch(76.8% 0.141 90.4);
Tailwind
colors: {
  custom: {
    50: '#e7c674',
    500: '#d6af34',
    950: '#000000',
  },
}
SCSS
$custom: #d6af34;
$custom-light: #e7c674;
$custom-dark: #000000;
JSON
{
  "hex": "#d6af34",
  "rgb": {
    "r": 214,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 45.556,
    "s": 66.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76833,
    "c": 0.14083,
    "h": 90.4
  },
  "luminance": 0.45204
}

Semantic roles & 50–950 ramp

primary
#D6AF34
secondary
#90A1D6
accent
#68E93E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D6AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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