#DAC262#DAC262

#DAC262 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.119 H 95.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#DAC262
RGBrgb(218, 194, 98)
HSLhsl(48, 62%, 62%)
HSVhsv(48, 55%, 85%)
CMYKcmyk(0%, 11%, 55%, 14.5%)
CIE-LABlab(78.68, -3.37, 50.71)
CIE-LCHlch(78.68, 50.82, 93.80°)
OKLaboklab(81.51% -0.0115 0.1189)
OKLCHoklch(81.51% 0.119 95.5)
XYZxyz(50.4117, 54.3731, 19.3926)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC262 #627ADA
analogous
#DA8662 #DAC262 #B6DA62
triadic
#DAC262 #62DAC2 #C262DA
tetradic
#DAC262 #62DA86 #627ADA #DA62B6
square
#DAC262 #62DA86 #627ADA #DA62B6
split-complementary
#DAC262 #62B6DA #8662DA
monochromatic
#9D8525 #CEAF31 #DAC262 #E6D594 #F1E8C5

Accessibility & contrast

On white

1.77
#DAC262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#DAC262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC262
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC262#FFFFFF#000000##000000
##DAC2621.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#E9B6AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dac262;
/* rgb */ color: rgb(218, 194, 98);
/* oklch */ color: oklch(81.5% 0.119 95.5);
Tailwind
colors: {
  custom: {
    50: '#e8d491',
    500: '#dac262',
    950: '#000000',
  },
}
SCSS
$custom: #dac262;
$custom-light: #e8d491;
$custom-dark: #000000;
JSON
{
  "hex": "#dac262",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 48,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81508,
    "c": 0.11947,
    "h": 95.5
  },
  "luminance": 0.54371
}

Semantic roles & 50–950 ramp

primary
#DAC262
secondary
#4053A1
accent
#3FCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC262

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

Preview Lab → · Contrast checker → · Palette generator →

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