#D6B239#D6B239

#D6B239 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.5% C 0.140 H 91.7°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D6B239
RGBrgb(214, 178, 57)
HSLhsl(46, 66%, 53%)
HSVhsv(46, 73%, 84%)
CMYKcmyk(0%, 16.8%, 73.4%, 16.1%)
CIE-LABlab(73.83, 0.75, 63.17)
CIE-LCHlch(73.83, 63.18, 89.32°)
OKLaboklab(77.47% -0.0043 0.1395)
OKLCHoklch(77.47% 0.14 91.7)
XYZxyz(44.3929, 46.4350, 10.4947)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6B239 #395DD6
analogous
#D66339 #D6B239 #ABD639
triadic
#D6B239 #39D6B2 #B239D6
tetradic
#D6B239 #39D663 #395DD6 #D639AB
square
#D6B239 #39D663 #395DD6 #D639AB
split-complementary
#D6B239 #39ABD6 #6339D6
monochromatic
#7B6519 #AE8E24 #D6B239 #E0C66C #EBD99E

Accessibility & contrast

On white

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

On black

10.29
#D6B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6B239
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6B239#FFFFFF#000000##000000
##D6B2391.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF26
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#E7A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d6b239;
/* rgb */ color: rgb(214, 178, 57);
/* oklch */ color: oklch(77.5% 0.140 91.7);
Tailwind
colors: {
  custom: {
    50: '#e7c877',
    500: '#d6b239',
    950: '#000000',
  },
}
SCSS
$custom: #d6b239;
$custom-light: #e7c877;
$custom-dark: #000000;
JSON
{
  "hex": "#d6b239",
  "rgb": {
    "r": 214,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 46.242,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77473,
    "c": 0.13958,
    "h": 91.7
  },
  "luminance": 0.46432
}

Semantic roles & 50–950 ramp

primary
#D6B239
secondary
#94A3D7
accent
#66E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D6B239

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

Preview Lab → · Contrast checker → · Palette generator →

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