#D2B746#D2B746

#D2B746 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.133 H 95.6°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D2B746
RGBrgb(210, 183, 70)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 12.9%, 66.7%, 17.6%)
CIE-LABlab(74.83, -2.93, 58.86)
CIE-LCHlch(74.83, 58.94, 92.85°)
OKLaboklab(78.21% -0.0131 0.1328)
OKLCHoklch(78.21% 0.133 95.6)
XYZxyz(44.6194, 48.0131, 12.7104)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B746 #4661D2
analogous
#D27146 #D2B746 #A7D246
triadic
#D2B746 #46D2B7 #B746D2
tetradic
#D2B746 #46D271 #4661D2 #D246A7
square
#D2B746 #46D271 #4661D2 #D246A7
split-complementary
#D2B746 #46A7D2 #7146D2
monochromatic
#7F6C1F #B0962B #D2B746 #DECA77 #EADDA8

Accessibility & contrast

On white

1.98
#D2B746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D2B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B746
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B746#FFFFFF#000000##000000
##D2B7461.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B338
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b746;
/* rgb */ color: rgb(210, 183, 70);
/* oklch */ color: oklch(78.2% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e3cc7f',
    500: '#d2b746',
    950: '#000000',
  },
}
SCSS
$custom: #d2b746;
$custom-light: #e3cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b746",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 48.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7821,
    "c": 0.13348,
    "h": 95.6
  },
  "luminance": 0.48011
}

Semantic roles & 50–950 ramp

primary
#D2B746
secondary
#9CA8D7
accent
#63E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B746

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

Preview Lab → · Contrast checker → · Palette generator →

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