#D2B148#D2B148

#D2B148 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.128 H 91.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D2B148
RGBrgb(210, 177, 72)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.7%, 65.7%, 17.6%)
CIE-LABlab(73.30, 0.34, 56.38)
CIE-LCHlch(73.30, 56.38, 89.65°)
OKLaboklab(77% -0.0035 0.1279)
OKLCHoklch(77% 0.128 91.5)
XYZxyz(43.4724, 45.6162, 12.6447)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B148 #4869D2
analogous
#D26C48 #D2B148 #AED248
triadic
#D2B148 #48D2B1 #B148D2
tetradic
#D2B148 #48D26C #4869D2 #D248AE
square
#D2B148 #48D26C #4869D2 #D248AE
split-complementary
#D2B148 #48AED2 #6C48D2
monochromatic
#806920 #B1912C #D2B148 #DEC679 #EADBAA

Accessibility & contrast

On white

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

On black

10.12
#D2B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B148
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B148#FFFFFF#000000##000000
##D2B1481.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#E2A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b148;
/* rgb */ color: rgb(210, 177, 72);
/* oklch */ color: oklch(77.0% 0.128 91.5);
Tailwind
colors: {
  custom: {
    50: '#e3c880',
    500: '#d2b148',
    950: '#000000',
  },
}
SCSS
$custom: #d2b148;
$custom-light: #e3c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b148",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 45.652,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77,
    "c": 0.12795,
    "h": 91.5
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#D2B148
secondary
#9EACD8
accent
#6AE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B148

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

Preview Lab → · Contrast checker → · Palette generator →

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