#DFC45B#DFC45B

#DFC45B is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.128 H 95.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DFC45B
RGBrgb(223, 196, 91)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 59%, 87%)
CMYKcmyk(0%, 12.1%, 59.2%, 12.5%)
CIE-LABlab(79.57, -2.84, 55.12)
CIE-LCHlch(79.57, 55.19, 92.95°)
OKLaboklab(82.3% -0.0112 0.1275)
OKLCHoklch(82.3% 0.128 95)
XYZxyz(52.0619, 55.9256, 17.9480)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC45B #5B76DF
analogous
#DF825B #DFC45B #B8DF5B
triadic
#DFC45B #5BDFC4 #C45BDF
tetradic
#DFC45B #5BDF82 #5B76DF #DF5BB8
square
#DFC45B #5BDF82 #5B76DF #DF5BB8
split-complementary
#DFC45B #5BB8DF #825BDF
monochromatic
#A0861F #D4B129 #DFC45B #E9D68E #F3E9C1

Accessibility & contrast

On white

1.72
#DFC45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#DFC45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC45B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC45B#FFFFFF#000000##000000
##DFC45B1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C050
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc45b;
/* rgb */ color: rgb(223, 196, 91);
/* oklch */ color: oklch(82.3% 0.128 95.0);
Tailwind
colors: {
  custom: {
    50: '#ecd58d',
    500: '#dfc45b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc45b;
$custom-light: #ecd58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc45b",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 91
  },
  "hsl": {
    "h": 47.727,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82297,
    "c": 0.128,
    "h": 95
  },
  "luminance": 0.55923
}

Semantic roles & 50–950 ramp

primary
#DFC45B
secondary
#3B50A3
accent
#3CCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC45B

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

Preview Lab → · Contrast checker → · Palette generator →

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