#D2B348#D2B348

#D2B348 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.129 H 92.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D2B348
RGBrgb(210, 179, 72)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 14.8%, 65.7%, 17.6%)
CIE-LABlab(73.81, -0.71, 56.93)
CIE-LCHlch(73.81, 56.94, 90.72°)
OKLaboklab(77.41% -0.0065 0.1291)
OKLCHoklch(77.41% 0.129 92.9)
XYZxyz(43.8703, 46.4121, 12.7773)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B348 #4867D2
analogous
#D26E48 #D2B348 #ACD248
triadic
#D2B348 #48D2B3 #B348D2
tetradic
#D2B348 #48D26E #4867D2 #D248AC
square
#D2B348 #48D26E #4867D2 #D248AC
split-complementary
#D2B348 #48ACD2 #6E48D2
monochromatic
#806A20 #B1932C #D2B348 #DEC779 #EADCAA

Accessibility & contrast

On white

2.04
#D2B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D2B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B348
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B348#FFFFFF#000000##000000
##D2B3481.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#E2A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b348;
/* rgb */ color: rgb(210, 179, 72);
/* oklch */ color: oklch(77.4% 0.129 92.9);
Tailwind
colors: {
  custom: {
    50: '#e3c980',
    500: '#d2b348',
    950: '#000000',
  },
}
SCSS
$custom: #d2b348;
$custom-light: #e3c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b348",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 46.522,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77408,
    "c": 0.12922,
    "h": 92.9
  },
  "luminance": 0.4641
}

Semantic roles & 50–950 ramp

primary
#D2B348
secondary
#9EABD8
accent
#68E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B348

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

Preview Lab → · Contrast checker → · Palette generator →

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