#D2B742#D2B742

#D2B742 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.136 H 96.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D2B742
RGBrgb(210, 183, 66)
HSLhsl(49, 62%, 54%)
HSVhsv(49, 69%, 82%)
CMYKcmyk(0%, 12.9%, 68.6%, 17.6%)
CIE-LABlab(74.80, -3.15, 60.49)
CIE-LCHlch(74.80, 60.57, 92.98°)
OKLaboklab(78.18% -0.0142 0.1356)
OKLCHoklch(78.18% 0.136 96)
XYZxyz(44.4974, 47.9643, 12.0674)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B742 #425DD2
analogous
#D26F42 #D2B742 #A5D242
triadic
#D2B742 #42D2B7 #B742D2
tetradic
#D2B742 #42D26F #425DD2 #D242A5
square
#D2B742 #42D26F #425DD2 #D242A5
split-complementary
#D2B742 #42A5D2 #6F42D2
monochromatic
#7C6A1E #AD9529 #D2B742 #DECA73 #EADDA5

Accessibility & contrast

On white

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

On black

10.59
#D2B742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B742
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B742#FFFFFF#000000##000000
##D2B7421.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b742;
/* rgb */ color: rgb(210, 183, 66);
/* oklch */ color: oklch(78.2% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#e3cc7d',
    500: '#d2b742',
    950: '#000000',
  },
}
SCSS
$custom: #d2b742;
$custom-light: #e3cc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b742",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 48.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78176,
    "c": 0.13635,
    "h": 96
  },
  "luminance": 0.47962
}

Semantic roles & 50–950 ramp

primary
#D2B742
secondary
#99A5D7
accent
#61E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B742

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

Preview Lab → · Contrast checker → · Palette generator →

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