#DFD45C#DFD45C

#DFD45C is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.141 H 104.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#DFD45C
RGBrgb(223, 212, 92)
HSLhsl(55, 67%, 62%)
HSVhsv(55, 59%, 87%)
CMYKcmyk(0%, 4.9%, 58.7%, 12.5%)
CIE-LABlab(83.73, -10.94, 59.32)
CIE-LCHlch(83.73, 60.32, 100.44°)
OKLaboklab(85.6% -0.0342 0.1366)
OKLCHoklch(85.6% 0.141 104.1)
XYZxyz(55.9086, 63.5496, 19.4444)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD45C #5C67DF
analogous
#DF935C #DFD45C #A9DF5C
triadic
#DFD45C #5CDFD4 #D45CDF
tetradic
#DFD45C #5CDF93 #5C67DF #DF5CA9
square
#DFD45C #5CDF93 #5C67DF #DF5CA9
split-complementary
#DFD45C #5CA9DF #935CDF
monochromatic
#A19620 #D4C62A #DFD45C #E9E18F #F3EFC2

Accessibility & contrast

On white

1.53
#DFD45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#DFD45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD45C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD45C#FFFFFF#000000##000000
##DFD45C1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4F
Deuteranopia (green-blind)
#E9D362
Tritanopia (blue-blind)
#EEC7BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd45c;
/* rgb */ color: rgb(223, 212, 92);
/* oklch */ color: oklch(85.6% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#ece18e',
    500: '#dfd45c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd45c;
$custom-light: #ece18e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd45c",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 54.962,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85598,
    "c": 0.14085,
    "h": 104.1
  },
  "luminance": 0.63548
}

Semantic roles & 50–950 ramp

primary
#DFD45C
secondary
#3B44A4
accent
#26CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD45C

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

Preview Lab → · Contrast checker → · Palette generator →

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