#DFBA45#DFBA45

#DFBA45 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.1% C 0.138 H 91.1°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#DFBA45
RGBrgb(223, 186, 69)
HSLhsl(46, 71%, 57%)
HSVhsv(46, 69%, 87%)
CMYKcmyk(0%, 16.6%, 69.1%, 12.5%)
CIE-LABlab(76.82, 1.00, 61.72)
CIE-LCHlch(76.82, 61.73, 89.07°)
OKLaboklab(80.07% -0.0027 0.1383)
OKLCHoklch(80.07% 0.138 91.1)
XYZxyz(49.0671, 51.2383, 12.9346)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA45 #456ADF
analogous
#DF6D45 #DFBA45 #B7DF45
triadic
#DFBA45 #45DFBA #BA45DF
tetradic
#DFBA45 #45DF6D #456ADF #DF45B7
square
#DFBA45 #45DF6D #456ADF #DF45B7
split-complementary
#DFBA45 #45B7DF #6D45DF
monochromatic
#917419 #C59E22 #DFBA45 #E8CD79 #F1E1AD

Accessibility & contrast

On white

1.87
#DFBA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#DFBA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBA45
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBA45#FFFFFF#000000##000000
##DFBA451.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB835
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#F1ABA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfba45;
/* rgb */ color: rgb(223, 186, 69);
/* oklch */ color: oklch(80.1% 0.138 91.1);
Tailwind
colors: {
  custom: {
    50: '#edce7f',
    500: '#dfba45',
    950: '#000000',
  },
}
SCSS
$custom: #dfba45;
$custom-light: #edce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba45",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 45.584,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80065,
    "c": 0.13832,
    "h": 91.1
  },
  "luminance": 0.51235
}

Semantic roles & 50–950 ramp

primary
#DFBA45
secondary
#334A96
accent
#65ED3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFBA45

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

Preview Lab → · Contrast checker → · Palette generator →

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