#DAD172#DAD172

#DAD172 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.118 H 103.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DAD172
RGBrgb(218, 209, 114)
HSLhsl(55, 58%, 65%)
HSVhsv(55, 48%, 85%)
CMYKcmyk(0%, 4.1%, 47.7%, 14.5%)
CIE-LABlab(82.77, -9.68, 47.91)
CIE-LCHlch(82.77, 48.88, 101.43°)
OKLaboklab(84.81% -0.028 0.1142)
OKLCHoklch(84.81% 0.118 103.8)
XYZxyz(54.7525, 61.7229, 24.9459)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAD172 #727BDA
analogous
#DA9D72 #DAD172 #AFDA72
triadic
#DAD172 #72DAD1 #D172DA
tetradic
#DAD172 #72DA9D #727BDA #DA72AF
square
#DAD172 #72DA9D #727BDA #DA72AF
split-complementary
#DAD172 #72AFDA #9D72DA
monochromatic
#A69B2C #CDC142 #DAD172 #E7E1A2 #F3F1D3

Accessibility & contrast

On white

1.57
#DAD172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#DAD172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAD172
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAD172#FFFFFF#000000##000000
##DAD1721.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#E7C6BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dad172;
/* rgb */ color: rgb(218, 209, 114);
/* oklch */ color: oklch(84.8% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#e7de9c',
    500: '#dad172',
    950: '#000000',
  },
}
SCSS
$custom: #dad172;
$custom-light: #e7de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dad172",
  "rgb": {
    "r": 218,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 54.808,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84807,
    "c": 0.1176,
    "h": 103.8
  },
  "luminance": 0.61721
}

Semantic roles & 50–950 ramp

primary
#DAD172
secondary
#474FA9
accent
#2EC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DAD172

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

Preview Lab → · Contrast checker → · Palette generator →

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