#D2B245#D2B245

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

Color values

HEX#D2B245
RGBrgb(210, 178, 69)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.2%, 67.1%, 17.6%)
CIE-LABlab(73.53, -0.36, 57.92)
CIE-LCHlch(73.53, 57.92, 90.36°)
OKLaboklab(77.18% -0.0058 0.1307)
OKLCHoklch(77.18% 0.131 92.6)
XYZxyz(43.5751, 45.9745, 12.2079)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B245 #4565D2
analogous
#D26C45 #D2B245 #ACD245
triadic
#D2B245 #45D2B2 #B245D2
tetradic
#D2B245 #45D26C #4565D2 #D245AC
square
#D2B245 #45D26C #4565D2 #D245AC
split-complementary
#D2B245 #45ACD2 #6C45D2
monochromatic
#7E681F #AF912A #D2B245 #DEC676 #EADBA8

Accessibility & contrast

On white

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

On black

10.19
#D2B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B245
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B245#FFFFFF#000000##000000
##D2B2451.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CCB94A
Tritanopia (blue-blind)
#E3A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b245;
/* rgb */ color: rgb(210, 178, 69);
/* oklch */ color: oklch(77.2% 0.131 92.6);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d2b245',
    950: '#000000',
  },
}
SCSS
$custom: #d2b245;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b245",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 46.383,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77176,
    "c": 0.13081,
    "h": 92.6
  },
  "luminance": 0.45972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B245

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

Preview Lab → · Contrast checker → · Palette generator →

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