#D2B246#D2B246

#D2B246 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.130 H 92.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D2B246
RGBrgb(210, 178, 70)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.2%, 66.7%, 17.6%)
CIE-LABlab(73.54, -0.30, 57.50)
CIE-LCHlch(73.54, 57.50, 90.30°)
OKLaboklab(77.19% -0.0055 0.13)
OKLCHoklch(77.19% 0.13 92.4)
XYZxyz(43.6064, 45.9870, 12.3727)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B246 #4666D2
analogous
#D26C46 #D2B246 #ACD246
triadic
#D2B246 #46D2B2 #B246D2
tetradic
#D2B246 #46D26C #4666D2 #D246AC
square
#D2B246 #46D26C #4666D2 #D246AC
split-complementary
#D2B246 #46ACD2 #6C46D2
monochromatic
#7F691F #B0922B #D2B246 #DEC677 #EADBA8

Accessibility & contrast

On white

2.06
#D2B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D2B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B246
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B246#FFFFFF#000000##000000
##D2B2461.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#E2A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b246;
/* rgb */ color: rgb(210, 178, 70);
/* oklch */ color: oklch(77.2% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#e3c87f',
    500: '#d2b246',
    950: '#000000',
  },
}
SCSS
$custom: #d2b246;
$custom-light: #e3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b246",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 46.286,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77185,
    "c": 0.13008,
    "h": 92.4
  },
  "luminance": 0.45985
}

Semantic roles & 50–950 ramp

primary
#D2B246
secondary
#9CAAD7
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B246

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

Preview Lab → · Contrast checker → · Palette generator →

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