#DFC658#DFC658

#DFC658 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.132 H 96.6°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DFC658
RGBrgb(223, 198, 88)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.2%, 60.5%, 12.5%)
CIE-LABlab(80.06, -4.08, 57.02)
CIE-LCHlch(80.06, 57.16, 94.10°)
OKLaboklab(82.67% -0.0151 0.1312)
OKLCHoklch(82.67% 0.132 96.6)
XYZxyz(52.3892, 56.7832, 17.4313)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC658 #5871DF
analogous
#DF8258 #DFC658 #B4DF58
triadic
#DFC658 #58DFC6 #C658DF
tetradic
#DFC658 #58DF82 #5871DF #DF58B4
square
#DFC658 #58DF82 #5871DF #DF58B4
split-complementary
#DFC658 #58B4DF #8258DF
monochromatic
#9E871E #D2B228 #DFC658 #E9D88B #F3E9BF

Accessibility & contrast

On white

1.70
#DFC658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DFC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC658
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC658#FFFFFF#000000##000000
##DFC6581.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc658;
/* rgb */ color: rgb(223, 198, 88);
/* oklch */ color: oklch(82.7% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#ecd78b',
    500: '#dfc658',
    950: '#000000',
  },
}
SCSS
$custom: #dfc658;
$custom-light: #ecd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc658",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 48.889,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82672,
    "c": 0.13206,
    "h": 96.6
  },
  "luminance": 0.56781
}

Semantic roles & 50–950 ramp

primary
#DFC658
secondary
#3A4DA2
accent
#38D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC658

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

Preview Lab → · Contrast checker → · Palette generator →

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