#D2B046#D2B046

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

Color values

HEX#D2B046
RGBrgb(210, 176, 70)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.2%, 66.7%, 17.6%)
CIE-LABlab(73.02, 0.75, 56.96)
CIE-LCHlch(73.02, 56.96, 89.24°)
OKLaboklab(76.78% -0.0025 0.1288)
OKLCHoklch(76.78% 0.129 91.1)
XYZxyz(43.2114, 45.1970, 12.2410)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B046 #4668D2
analogous
#D26A46 #D2B046 #AED246
triadic
#D2B046 #46D2B0 #B046D2
tetradic
#D2B046 #46D26A #4668D2 #D246AE
square
#D2B046 #46D26A #4668D2 #D246AE
split-complementary
#D2B046 #46AED2 #6A46D2
monochromatic
#7F671F #B0902B #D2B046 #DEC577 #EADAA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B046#FFFFFF#000000##000000
##D2B0461.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)
#C2AE39
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#E3A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b046;
/* rgb */ color: rgb(210, 176, 70);
/* oklch */ color: oklch(76.8% 0.129 91.1);
Tailwind
colors: {
  custom: {
    50: '#e3c77e',
    500: '#d2b046',
    950: '#000000',
  },
}
SCSS
$custom: #d2b046;
$custom-light: #e3c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b046",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 45.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76778,
    "c": 0.12882,
    "h": 91.1
  },
  "luminance": 0.45195
}

Semantic roles & 50–950 ramp

primary
#D2B046
secondary
#9CABD7
accent
#6BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B046

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

Preview Lab → · Contrast checker → · Palette generator →

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