#DFC15F#DFC15F

#DFC15F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.122 H 92.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DFC15F
RGBrgb(223, 193, 95)
HSLhsl(46, 67%, 62%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13.5%, 57.4%, 12.5%)
CIE-LABlab(78.84, -1.00, 52.44)
CIE-LCHlch(78.84, 52.45, 91.09°)
OKLaboklab(81.74% -0.0054 0.1222)
OKLCHoklch(81.74% 0.122 92.5)
XYZxyz(51.5691, 54.6567, 18.6577)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC15F #5F7DDF
analogous
#DF815F #DFC15F #BDDF5F
triadic
#DFC15F #5FDFC1 #C15FDF
tetradic
#DFC15F #5FDF81 #5F7DDF #DF5FBD
square
#DFC15F #5FDF81 #5F7DDF #DF5FBD
split-complementary
#DFC15F #5FBDDF #815FDF
monochromatic
#A38421 #D5AD2C #DFC15F #E9D592 #F3E9C5

Accessibility & contrast

On white

1.76
#DFC15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DFC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC15F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC15F#FFFFFF#000000##000000
##DFC15F1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#EFB4AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc15f;
/* rgb */ color: rgb(223, 193, 95);
/* oklch */ color: oklch(81.7% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#ecd38f',
    500: '#dfc15f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc15f;
$custom-light: #ecd38f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc15f",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 45.938,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81735,
    "c": 0.12233,
    "h": 92.5
  },
  "luminance": 0.54654
}

Semantic roles & 50–950 ramp

primary
#DFC15F
secondary
#3C55A6
accent
#42CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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