#DAB240#DAB240

#DAB240 is a light, vivid orange. Relative luminance 0.471; OKLCH L 77.9% C 0.136 H 89.1°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#DAB240
RGBrgb(218, 178, 64)
HSLhsl(44, 68%, 55%)
HSVhsv(44, 71%, 85%)
CMYKcmyk(0%, 18.3%, 70.6%, 14.5%)
CIE-LABlab(74.27, 2.81, 61.00)
CIE-LCHlch(74.27, 61.06, 87.36°)
OKLaboklab(77.93% 0.0022 0.1361)
OKLCHoklch(77.93% 0.136 89.1)
XYZxyz(45.7618, 47.1192, 11.5341)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB240 #4068DA
analogous
#DA6540 #DAB240 #B5DA40
triadic
#DAB240 #40DAB2 #B240DA
tetradic
#DAB240 #40DA65 #4068DA #DA40B5
square
#DAB240 #40DA65 #4068DA #DA40B5
split-complementary
#DAB240 #40B5DA #6540DA
monochromatic
#866A1A #B99224 #DAB240 #E4C773 #EEDBA7

Accessibility & contrast

On white

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

On black

10.42
#DAB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB240
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB240#FFFFFF#000000##000000
##DAB2401.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#ECA39B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dab240;
/* rgb */ color: rgb(218, 178, 64);
/* oklch */ color: oklch(77.9% 0.136 89.1);
Tailwind
colors: {
  custom: {
    50: '#eac87b',
    500: '#dab240',
    950: '#000000',
  },
}
SCSS
$custom: #dab240;
$custom-light: #eac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#dab240",
  "rgb": {
    "r": 218,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 44.416,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77925,
    "c": 0.13607,
    "h": 89.1
  },
  "luminance": 0.47116
}

Semantic roles & 50–950 ramp

primary
#DAB240
secondary
#9BABDB
accent
#6AEA3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DAB240

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

Preview Lab → · Contrast checker → · Palette generator →

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