#DFBD2A#DFBD2A

#DFBD2A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.5% C 0.155 H 94.8°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#DFBD2A
RGBrgb(223, 189, 42)
HSLhsl(49, 74%, 52%)
HSVhsv(49, 81%, 87%)
CMYKcmyk(0%, 15.2%, 81.2%, 12.5%)
CIE-LABlab(77.43, -1.67, 71.79)
CIE-LCHlch(77.43, 71.81, 91.33°)
OKLaboklab(80.5% -0.013 0.1546)
OKLCHoklch(80.5% 0.155 94.8)
XYZxyz(49.0497, 52.2532, 9.6924)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBD2A #2A4CDF
analogous
#DF622A #DFBD2A #A7DF2A
triadic
#DFBD2A #2ADFBD #BD2ADF
tetradic
#DFBD2A #2ADF62 #2A4CDF #DF2AA7
square
#DFBD2A #2ADF62 #2A4CDF #DF2AA7
split-complementary
#DFBD2A #2AA7DF #622ADF
monochromatic
#7C6813 #B1951B #DFBD2A #E7CD5F #EFDE94

Accessibility & contrast

On white

1.83
#DFBD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#DFBD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBD2A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBD2A#FFFFFF#000000##000000
##DFBD2A1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B900
Deuteranopia (green-blind)
#DAC435
Tritanopia (blue-blind)
#F1ADA2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbd2a;
/* rgb */ color: rgb(223, 189, 42);
/* oklch */ color: oklch(80.5% 0.155 94.8);
Tailwind
colors: {
  custom: {
    50: '#eed072',
    500: '#dfbd2a',
    950: '#000000',
  },
}
SCSS
$custom: #dfbd2a;
$custom-light: #eed072;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbd2a",
  "rgb": {
    "r": 223,
    "g": 189,
    "b": 42
  },
  "hsl": {
    "h": 48.729,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80496,
    "c": 0.15511,
    "h": 94.8
  },
  "luminance": 0.5225
}

Semantic roles & 50–950 ramp

primary
#DFBD2A
secondary
#2A3B83
accent
#5AF137
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DFBD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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