#D2B750#D2B750

#D2B750 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.126 H 94.6°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D2B750
RGBrgb(210, 183, 80)
HSLhsl(48, 59%, 57%)
HSVhsv(48, 62%, 82%)
CMYKcmyk(0%, 12.9%, 61.9%, 17.6%)
CIE-LABlab(74.92, -2.31, 54.59)
CIE-LCHlch(74.92, 54.64, 92.42°)
OKLaboklab(78.31% -0.0101 0.1253)
OKLCHoklch(78.31% 0.126 94.6)
XYZxyz(44.9618, 48.1500, 14.5135)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B750 #506BD2
analogous
#D27650 #D2B750 #ACD250
triadic
#D2B750 #50D2B7 #B750D2
tetradic
#D2B750 #50D276 #506BD2 #D250AC
square
#D2B750 #50D276 #506BD2 #D250AC
split-complementary
#D2B750 #50ACD2 #7650D2
monochromatic
#857122 #B69A2F #D2B750 #DFCB81 #EBDFB1

Accessibility & contrast

On white

1.98
#D2B750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D2B750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B750
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B750#FFFFFF#000000##000000
##D2B7501.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B445
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#E2AAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b750;
/* rgb */ color: rgb(210, 183, 80);
/* oklch */ color: oklch(78.3% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#e3cc85',
    500: '#d2b750',
    950: '#000000',
  },
}
SCSS
$custom: #d2b750;
$custom-light: #e3cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b750",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 80
  },
  "hsl": {
    "h": 47.538,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78306,
    "c": 0.12568,
    "h": 94.6
  },
  "luminance": 0.48148
}

Semantic roles & 50–950 ramp

primary
#D2B750
secondary
#A4AFD9
accent
#66E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B750

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

Preview Lab → · Contrast checker → · Palette generator →

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