#D2BB45#D2BB45

#D2BB45 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.137 H 98.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D2BB45
RGBrgb(210, 187, 69)
HSLhsl(50, 61%, 55%)
HSVhsv(50, 67%, 82%)
CMYKcmyk(0%, 11%, 67.1%, 17.6%)
CIE-LABlab(75.87, -5.07, 60.36)
CIE-LCHlch(75.87, 60.57, 94.80°)
OKLaboklab(79.03% -0.0193 0.1358)
OKLCHoklch(79.03% 0.137 98.1)
XYZxyz(45.4249, 49.6741, 12.8245)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB45 #455CD2
analogous
#D27545 #D2BB45 #A2D245
triadic
#D2BB45 #45D2BB #BB45D2
tetradic
#D2BB45 #45D275 #455CD2 #D245A2
square
#D2BB45 #45D275 #455CD2 #D245A2
split-complementary
#D2BB45 #45A2D2 #7545D2
monochromatic
#7E6F1F #AF9A2A #D2BB45 #DECD76 #EADFA8

Accessibility & contrast

On white

1.92
#D2BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#D2BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB45
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB45#FFFFFF#000000##000000
##D2BB451.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB635
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#E2AEA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb45;
/* rgb */ color: rgb(210, 187, 69);
/* oklch */ color: oklch(79.0% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#e3cf7f',
    500: '#d2bb45',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb45;
$custom-light: #e3cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb45",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 50.213,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.13721,
    "h": 98.1
  },
  "luminance": 0.49672
}

Semantic roles & 50–950 ramp

primary
#D2BB45
secondary
#9CA5D7
accent
#5EE444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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