#D3B142#D3B142

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

Color values

HEX#D3B142
RGBrgb(211, 177, 66)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 83%)
CMYKcmyk(0%, 16.1%, 68.7%, 17.3%)
CIE-LABlab(73.34, 0.43, 59.02)
CIE-LCHlch(73.34, 59.02, 89.58°)
OKLaboklab(77.05% -0.004 0.1325)
OKLCHoklch(77.05% 0.133 91.7)
XYZxyz(43.5718, 45.6890, 11.6771)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B142 #4264D3
analogous
#D36942 #D3B142 #ADD342
triadic
#D3B142 #42D3B1 #B142D3
tetradic
#D3B142 #42D369 #4264D3 #D342AD
square
#D3B142 #42D369 #4264D3 #D342AD
split-complementary
#D3B142 #42ADD3 #6942D3
monochromatic
#7D671D #AF9029 #D3B142 #DFC574 #EADAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B142#FFFFFF#000000##000000
##D3B1421.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)
#C4AE33
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#E4A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b142;
/* rgb */ color: rgb(211, 177, 66);
/* oklch */ color: oklch(77.0% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#e4c87c',
    500: '#d3b142',
    950: '#000000',
  },
}
SCSS
$custom: #d3b142;
$custom-light: #e4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b142",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 45.931,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77045,
    "c": 0.13253,
    "h": 91.7
  },
  "luminance": 0.45687
}

Semantic roles & 50–950 ramp

primary
#D3B142
secondary
#9AA8D7
accent
#69E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B142

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

Preview Lab → · Contrast checker → · Palette generator →

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