#DFC858#DFC858

#DFC858 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.134 H 97.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DFC858
RGBrgb(223, 200, 88)
HSLhsl(50, 68%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 10.3%, 60.5%, 12.5%)
CIE-LABlab(80.57, -5.11, 57.59)
CIE-LCHlch(80.57, 57.82, 95.07°)
OKLaboklab(83.08% -0.018 0.1324)
OKLCHoklch(83.08% 0.134 97.8)
XYZxyz(52.8493, 57.7035, 17.5847)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC858 #586FDF
analogous
#DF8458 #DFC858 #B2DF58
triadic
#DFC858 #58DFC8 #C858DF
tetradic
#DFC858 #58DF84 #586FDF #DF58B2
square
#DFC858 #58DF84 #586FDF #DF58B2
split-complementary
#DFC858 #58B2DF #8458DF
monochromatic
#9E881E #D2B528 #DFC858 #E9D98B #F3EABF

Accessibility & contrast

On white

1.67
#DFC858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DFC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC858
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC858#FFFFFF#000000##000000
##DFC8581.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34C
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#EFBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc858;
/* rgb */ color: rgb(223, 200, 88);
/* oklch */ color: oklch(83.1% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#ecd88b',
    500: '#dfc858',
    950: '#000000',
  },
}
SCSS
$custom: #dfc858;
$custom-light: #ecd88b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc858",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 49.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83081,
    "c": 0.13363,
    "h": 97.8
  },
  "luminance": 0.57701
}

Semantic roles & 50–950 ramp

primary
#DFC858
secondary
#3A4BA2
accent
#35D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC858

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

Preview Lab → · Contrast checker → · Palette generator →

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