#D3B239#D3B239

#D3B239 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.139 H 93.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D3B239
RGBrgb(211, 178, 57)
HSLhsl(47, 64%, 53%)
HSVhsv(47, 73%, 83%)
CMYKcmyk(0%, 15.6%, 73%, 17.3%)
CIE-LABlab(73.54, -0.54, 62.79)
CIE-LCHlch(73.54, 62.80, 90.50°)
OKLaboklab(77.18% -0.0078 0.1388)
OKLCHoklch(77.18% 0.139 93.2)
XYZxyz(43.5252, 45.9876, 10.4541)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B239 #395AD3
analogous
#D36539 #D3B239 #A7D339
triadic
#D3B239 #39D3B2 #B239D3
tetradic
#D3B239 #39D365 #395AD3 #D339A7
square
#D3B239 #39D365 #395AD3 #D339A7
split-complementary
#D3B239 #39A7D3 #6539D3
monochromatic
#77631A #A98D26 #D3B239 #DEC56B #E9D99D

Accessibility & contrast

On white

2.06
#D3B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D3B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B239
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B239#FFFFFF#000000##000000
##D3B2391.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF26
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#E4A49A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b239;
/* rgb */ color: rgb(211, 178, 57);
/* oklch */ color: oklch(77.2% 0.139 93.2);
Tailwind
colors: {
  custom: {
    50: '#e5c877',
    500: '#d3b239',
    950: '#000000',
  },
}
SCSS
$custom: #d3b239;
$custom-light: #e5c877;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b239",
  "rgb": {
    "r": 211,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 47.143,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.13905,
    "h": 93.2
  },
  "luminance": 0.45985
}

Semantic roles & 50–950 ramp

primary
#D3B239
secondary
#92A1D5
accent
#65E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B239

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

Preview Lab → · Contrast checker → · Palette generator →

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