#D7C348#D7C348

#D7C348 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.142 H 100.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D7C348
RGBrgb(215, 195, 72)
HSLhsl(52, 64%, 56%)
HSVhsv(52, 67%, 84%)
CMYKcmyk(0%, 9.3%, 66.5%, 15.7%)
CIE-LABlab(78.43, -6.90, 61.92)
CIE-LCHlch(78.43, 62.31, 96.36°)
OKLaboklab(81.17% -0.0245 0.1395)
OKLCHoklch(81.17% 0.142 100)
XYZxyz(48.7113, 53.9473, 13.9767)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C348 #485CD7
analogous
#D77C48 #D7C348 #A4D748
triadic
#D7C348 #48D7C3 #C348D7
tetradic
#D7C348 #48D77C #485CD7 #D748A4
square
#D7C348 #48D77C #485CD7 #D748A4
split-complementary
#D7C348 #48A4D7 #7C48D7
monochromatic
#87781E #B9A529 #D7C348 #E2D37A #EDE4AC

Accessibility & contrast

On white

1.78
#D7C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D7C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C348
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C348#FFFFFF#000000##000000
##D7C3481.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#E7B5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c348;
/* rgb */ color: rgb(215, 195, 72);
/* oklch */ color: oklch(81.2% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#e7d481',
    500: '#d7c348',
    950: '#000000',
  },
}
SCSS
$custom: #d7c348;
$custom-light: #e7d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c348",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 51.608,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81172,
    "c": 0.14162,
    "h": 100
  },
  "luminance": 0.53945
}

Semantic roles & 50–950 ramp

primary
#D7C348
secondary
#36428D
accent
#58E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C348

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

Preview Lab → · Contrast checker → · Palette generator →

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