#DFC458#DFC458

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

Color values

HEX#DFC458
RGBrgb(223, 196, 88)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.1%, 60.5%, 12.5%)
CIE-LABlab(79.54, -3.05, 56.45)
CIE-LCHlch(79.54, 56.53, 93.10°)
OKLaboklab(82.27% -0.0121 0.13)
OKLCHoklch(82.27% 0.131 95.3)
XYZxyz(51.9350, 55.8749, 17.2800)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC458 #5873DF
analogous
#DF8058 #DFC458 #B6DF58
triadic
#DFC458 #58DFC4 #C458DF
tetradic
#DFC458 #58DF80 #5873DF #DF58B6
square
#DFC458 #58DF80 #5873DF #DF58B6
split-complementary
#DFC458 #58B6DF #8058DF
monochromatic
#9E851E #D2B028 #DFC458 #E9D68B #F3E8BF

Accessibility & contrast

On white

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

On black

12.17
#DFC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC458
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC458#FFFFFF#000000##000000
##DFC4581.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#EFB6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc458;
/* rgb */ color: rgb(223, 196, 88);
/* oklch */ color: oklch(82.3% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#ecd58b',
    500: '#dfc458',
    950: '#000000',
  },
}
SCSS
$custom: #dfc458;
$custom-light: #ecd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc458",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 48,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82265,
    "c": 0.13053,
    "h": 95.3
  },
  "luminance": 0.55872
}

Semantic roles & 50–950 ramp

primary
#DFC458
secondary
#3A4EA2
accent
#3BD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC458

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

Preview Lab → · Contrast checker → · Palette generator →

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