#D1B239#D1B239

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

Color values

HEX#D1B239
RGBrgb(209, 178, 57)
HSLhsl(48, 62%, 52%)
HSVhsv(48, 73%, 82%)
CMYKcmyk(0%, 14.8%, 72.7%, 18%)
CIE-LABlab(73.35, -1.41, 62.54)
CIE-LCHlch(73.35, 62.56, 91.29°)
OKLaboklab(76.98% -0.0101 0.1384)
OKLCHoklch(76.98% 0.139 94.2)
XYZxyz(42.9557, 45.6939, 10.4274)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B239 #3958D1
analogous
#D16639 #D1B239 #A4D139
triadic
#D1B239 #39D1B2 #B239D1
tetradic
#D1B239 #39D166 #3958D1 #D139A4
square
#D1B239 #39D166 #3958D1 #D139A4
split-complementary
#D1B239 #39A4D1 #6639D1
monochromatic
#75621B #A68C27 #D1B239 #DDC56B #E8D99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B239#FFFFFF#000000##000000
##D1B2391.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)
#C5AF26
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E2A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b239;
/* rgb */ color: rgb(209, 178, 57);
/* oklch */ color: oklch(77.0% 0.139 94.2);
Tailwind
colors: {
  custom: {
    50: '#e3c877',
    500: '#d1b239',
    950: '#000000',
  },
}
SCSS
$custom: #d1b239;
$custom-light: #e3c877;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b239",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 47.763,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76982,
    "c": 0.13874,
    "h": 94.2
  },
  "luminance": 0.45692
}

Semantic roles & 50–950 ramp

primary
#D1B239
secondary
#929FD4
accent
#64E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B239

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

Preview Lab → · Contrast checker → · Palette generator →

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