#DAB252#DAB252

#DAB252 is a light, vivid orange. Relative luminance 0.474; OKLCH L 78.1% C 0.123 H 86.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#DAB252
RGBrgb(218, 178, 82)
HSLhsl(42, 65%, 59%)
HSVhsv(42, 62%, 85%)
CMYKcmyk(0%, 18.3%, 62.4%, 14.5%)
CIE-LABlab(74.42, 3.85, 53.34)
CIE-LCHlch(74.42, 53.48, 85.87°)
OKLaboklab(78.09% 0.0074 0.1227)
OKLCHoklch(78.09% 0.123 86.5)
XYZxyz(46.3592, 47.3582, 14.6803)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB252 #527ADA
analogous
#DA6E52 #DAB252 #BEDA52
triadic
#DAB252 #52DAB2 #B252DA
tetradic
#DAB252 #52DA6E #527ADA #DA52BE
square
#DAB252 #52DA6E #527ADA #DA52BE
split-complementary
#DAB252 #52BEDA #6E52DA
monochromatic
#92701F #C5972A #DAB252 #E5C884 #F0DFB7

Accessibility & contrast

On white

2.01
#DAB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#DAB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB252
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB252#FFFFFF#000000##000000
##DAB2521.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CFBB56
Tritanopia (blue-blind)
#EBA49D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dab252;
/* rgb */ color: rgb(218, 178, 82);
/* oklch */ color: oklch(78.1% 0.123 86.5);
Tailwind
colors: {
  custom: {
    50: '#e9c886',
    500: '#dab252',
    950: '#000000',
  },
}
SCSS
$custom: #dab252;
$custom-light: #e9c886;
$custom-dark: #000000;
JSON
{
  "hex": "#dab252",
  "rgb": {
    "r": 218,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 42.353,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78094,
    "c": 0.12288,
    "h": 86.5
  },
  "luminance": 0.47355
}

Semantic roles & 50–950 ramp

primary
#DAB252
secondary
#A9B9DF
accent
#71E840
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#17130B
muted
#85827C

Preview Lab

Preview with #DAB252

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

Preview Lab → · Contrast checker → · Palette generator →

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