#D2B14E#D2B14E

#D2B14E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.1% C 0.123 H 90.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D2B14E
RGBrgb(210, 177, 78)
HSLhsl(45, 59%, 56%)
HSVhsv(45, 63%, 82%)
CMYKcmyk(0%, 15.7%, 62.9%, 17.6%)
CIE-LABlab(73.35, 0.72, 53.77)
CIE-LCHlch(73.35, 53.77, 89.24°)
OKLaboklab(77.06% -0.0016 0.1232)
OKLCHoklch(77.06% 0.123 90.8)
XYZxyz(43.6777, 45.6984, 13.7263)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B14E #4E6FD2
analogous
#D26F4E #D2B14E #B1D24E
triadic
#D2B14E #4ED2B1 #B14ED2
tetradic
#D2B14E #4ED26F #4E6FD2 #D24EB1
square
#D2B14E #4ED26F #4E6FD2 #D24EB1
split-complementary
#D2B14E #4EB1D2 #6F4ED2
monochromatic
#846B22 #B5932E #D2B14E #DEC77F #EBDCB0

Accessibility & contrast

On white

2.07
#D2B14E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D2B14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B14E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B14E#FFFFFF#000000##000000
##D2B14E1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF43
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#E2A49C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b14e;
/* rgb */ color: rgb(210, 177, 78);
/* oklch */ color: oklch(77.1% 0.123 90.8);
Tailwind
colors: {
  custom: {
    50: '#e3c883',
    500: '#d2b14e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b14e;
$custom-light: #e3c883;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b14e",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 78
  },
  "hsl": {
    "h": 45,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7706,
    "c": 0.12324,
    "h": 90.8
  },
  "luminance": 0.45696
}

Semantic roles & 50–950 ramp

primary
#D2B14E
secondary
#A3B0D9
accent
#6DE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B14E

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

Preview Lab → · Contrast checker → · Palette generator →

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