#D2B239#D2B239

#D2B239 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.139 H 93.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#D2B239
RGBrgb(210, 178, 57)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 73%, 82%)
CMYKcmyk(0%, 15.2%, 72.9%, 17.6%)
CIE-LABlab(73.44, -0.98, 62.67)
CIE-LCHlch(73.44, 62.68, 90.89°)
OKLaboklab(77.08% -0.009 0.1386)
OKLCHoklch(77.08% 0.139 93.7)
XYZxyz(43.2396, 45.8403, 10.4407)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B239 #3959D2
analogous
#D26639 #D2B239 #A6D239
triadic
#D2B239 #39D2B2 #B239D2
tetradic
#D2B239 #39D266 #3959D2 #D239A6
square
#D2B239 #39D266 #3959D2 #D239A6
split-complementary
#D2B239 #39A6D2 #6639D2
monochromatic
#76631B #A88D26 #D2B239 #DDC56B #E9D99D

Accessibility & contrast

On white

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

On black

10.17
#D2B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B239
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B239#FFFFFF#000000##000000
##D2B2391.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF26
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E3A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b239;
/* rgb */ color: rgb(210, 178, 57);
/* oklch */ color: oklch(77.1% 0.139 93.7);
Tailwind
colors: {
  custom: {
    50: '#e4c877',
    500: '#d2b239',
    950: '#000000',
  },
}
SCSS
$custom: #d2b239;
$custom-light: #e4c877;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b239",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 47.451,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7708,
    "c": 0.13889,
    "h": 93.7
  },
  "luminance": 0.45838
}

Semantic roles & 50–950 ramp

primary
#D2B239
secondary
#92A0D5
accent
#64E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B239

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

Preview Lab → · Contrast checker → · Palette generator →

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