#D2B75F#D2B75F

#D2B75F is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.112 H 92.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D2B75F
RGBrgb(210, 183, 95)
HSLhsl(46, 56%, 60%)
HSVhsv(46, 55%, 82%)
CMYKcmyk(0%, 12.9%, 54.8%, 17.6%)
CIE-LABlab(75.07, -1.20, 47.74)
CIE-LCHlch(75.07, 47.75, 91.44°)
OKLaboklab(78.48% -0.0051 0.1123)
OKLCHoklch(78.48% 0.112 92.6)
XYZxyz(45.5792, 48.3970, 17.7650)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B75F #5F7AD2
analogous
#D27D5F #D2B75F #B4D25F
triadic
#D2B75F #5FD2B7 #B75FD2
tetradic
#D2B75F #5FD27D #5F7AD2 #D25FB4
square
#D2B75F #5FD27D #5F7AD2 #D25FB4
split-complementary
#D2B75F #5FB4D2 #7D5FD2
monochromatic
#8F7628 #BE9E36 #D2B75F #DFCC8F #EDE2BF

Accessibility & contrast

On white

1.97
#D2B75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D2B75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B75F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B75F#FFFFFF#000000##000000
##D2B75F1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CEBC63
Tritanopia (blue-blind)
#E1ABA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b75f;
/* rgb */ color: rgb(210, 183, 95);
/* oklch */ color: oklch(78.5% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#e2cc8f',
    500: '#d2b75f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b75f;
$custom-light: #e2cc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b75f",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 95
  },
  "hsl": {
    "h": 45.913,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78478,
    "c": 0.11242,
    "h": 92.6
  },
  "luminance": 0.48395
}

Semantic roles & 50–950 ramp

primary
#D2B75F
secondary
#B0BBDD
accent
#6CDF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B75F

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

Preview Lab → · Contrast checker → · Palette generator →

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