#D4C746#D4C746

#D4C746 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.147 H 103.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D4C746
RGBrgb(212, 199, 70)
HSLhsl(55, 62%, 55%)
HSVhsv(55, 67%, 83%)
CMYKcmyk(0%, 6.1%, 67%, 16.9%)
CIE-LABlab(79.21, -10.32, 63.44)
CIE-LCHlch(79.21, 64.28, 99.24°)
OKLaboklab(81.72% -0.0343 0.1425)
OKLCHoklch(81.72% 0.147 103.5)
XYZxyz(48.6823, 55.2880, 13.9005)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C746 #4653D4
analogous
#D48046 #D4C746 #9AD446
triadic
#D4C746 #46D4C7 #C746D4
tetradic
#D4C746 #46D480 #4653D4 #D4469A
square
#D4C746 #46D480 #4653D4 #D4469A
split-complementary
#D4C746 #469AD4 #8046D4
monochromatic
#81781E #B3A72A #D4C746 #E0D678 #EBE5A9

Accessibility & contrast

On white

1.74
#D4C746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D4C746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C746
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C746#FFFFFF#000000##000000
##D4C7461.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C134
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#E3BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c746;
/* rgb */ color: rgb(212, 199, 70);
/* oklch */ color: oklch(81.7% 0.147 103.5);
Tailwind
colors: {
  custom: {
    50: '#e5d780',
    500: '#d4c746',
    950: '#000000',
  },
}
SCSS
$custom: #d4c746;
$custom-light: #e5d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c746",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 54.507,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81721,
    "c": 0.14652,
    "h": 103.5
  },
  "luminance": 0.55286
}

Semantic roles & 50–950 ramp

primary
#D4C746
secondary
#363D89
accent
#51E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C746

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

Preview Lab → · Contrast checker → · Palette generator →

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