#DFC75F#DFC75F

#DFC75F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.0% C 0.127 H 96.5°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#DFC75F
RGBrgb(223, 199, 95)
HSLhsl(49, 67%, 62%)
HSVhsv(49, 57%, 87%)
CMYKcmyk(0%, 10.8%, 57.4%, 12.5%)
CIE-LABlab(80.38, -4.10, 54.20)
CIE-LCHlch(80.38, 54.36, 94.33°)
OKLaboklab(82.95% -0.0143 0.126)
OKLCHoklch(82.95% 0.127 96.5)
XYZxyz(52.9225, 57.3634, 19.1089)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC75F #5F77DF
analogous
#DF875F #DFC75F #B7DF5F
triadic
#DFC75F #5FDFC7 #C75FDF
tetradic
#DFC75F #5FDF87 #5F77DF #DF5FB7
square
#DFC75F #5FDF87 #5F77DF #DF5FB7
split-complementary
#DFC75F #5FB7DF #875FDF
monochromatic
#A38B21 #D5B52C #DFC75F #E9D992 #F3EBC5

Accessibility & contrast

On white

1.68
#DFC75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#DFC75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC75F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC75F#FFFFFF#000000##000000
##DFC75F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C355
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#EFBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc75f;
/* rgb */ color: rgb(223, 199, 95);
/* oklch */ color: oklch(83.0% 0.127 96.5);
Tailwind
colors: {
  custom: {
    50: '#ecd790',
    500: '#dfc75f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc75f;
$custom-light: #ecd790;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc75f",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 48.75,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82952,
    "c": 0.12683,
    "h": 96.5
  },
  "luminance": 0.57361
}

Semantic roles & 50–950 ramp

primary
#DFC75F
secondary
#3C50A6
accent
#39CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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