#DAD271#DAD271

#DAD271 is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.120 H 104.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#DAD271
RGBrgb(218, 210, 113)
HSLhsl(55, 59%, 65%)
HSVhsv(55, 48%, 85%)
CMYKcmyk(0%, 3.7%, 48.2%, 14.5%)
CIE-LABlab(83.02, -10.28, 48.69)
CIE-LCHlch(83.02, 49.77, 101.92°)
OKLaboklab(85% -0.0298 0.1159)
OKLCHoklch(85% 0.12 104.4)
XYZxyz(54.9421, 62.1925, 24.7298)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAD271 #7179DA
analogous
#DA9E71 #DAD271 #ADDA71
triadic
#DAD271 #71DAD2 #D271DA
tetradic
#DAD271 #71DA9E #7179DA #DA71AD
square
#DAD271 #71DA9E #7179DA #DA71AD
split-complementary
#DAD271 #71ADDA #9E71DA
monochromatic
#A59C2B #CDC340 #DAD271 #E7E1A2 #F3F1D2

Accessibility & contrast

On white

1.56
#DAD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#DAD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAD271
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAD271#FFFFFF#000000##000000
##DAD2711.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#E7C7BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dad271;
/* rgb */ color: rgb(218, 210, 113);
/* oklch */ color: oklch(85.0% 0.120 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7df9c',
    500: '#dad271',
    950: '#000000',
  },
}
SCSS
$custom: #dad271;
$custom-light: #e7df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dad271",
  "rgb": {
    "r": 218,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 55.429,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85002,
    "c": 0.11965,
    "h": 104.4
  },
  "luminance": 0.62191
}

Semantic roles & 50–950 ramp

primary
#DAD271
secondary
#464EA9
accent
#2CC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #DAD271

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

Preview Lab → · Contrast checker → · Palette generator →

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