#DFC742#DFC742

#DFC742 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.149 H 98.8°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DFC742
RGBrgb(223, 199, 66)
HSLhsl(51, 71%, 57%)
HSVhsv(51, 70%, 87%)
CMYKcmyk(0%, 10.8%, 70.4%, 12.5%)
CIE-LABlab(80.14, -5.88, 66.25)
CIE-LCHlch(80.14, 66.51, 95.07°)
OKLaboklab(82.68% -0.0227 0.1473)
OKLCHoklch(82.68% 0.149 98.8)
XYZxyz(51.8407, 56.9307, 13.4113)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC742 #425ADF
analogous
#DF7942 #DFC742 #A9DF42
triadic
#DFC742 #42DFC7 #C742DF
tetradic
#DFC742 #42DF79 #425ADF #DF42A9
square
#DFC742 #42DF79 #425ADF #DF42A9
split-complementary
#DFC742 #42A9DF #7942DF
monochromatic
#8E7C18 #C3AA21 #DFC742 #E8D776 #F1E6AB

Accessibility & contrast

On white

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

On black

12.39
#DFC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC742
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC742#FFFFFF#000000##000000
##DFC7421.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22E
Deuteranopia (green-blind)
#E1CA4A
Tritanopia (blue-blind)
#F0B8AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc742;
/* rgb */ color: rgb(223, 199, 66);
/* oklch */ color: oklch(82.7% 0.149 98.8);
Tailwind
colors: {
  custom: {
    50: '#edd77e',
    500: '#dfc742',
    950: '#000000',
  },
}
SCSS
$custom: #dfc742;
$custom-light: #edd77e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc742",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 50.828,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.14908,
    "h": 98.8
  },
  "luminance": 0.56928
}

Semantic roles & 50–950 ramp

primary
#DFC742
secondary
#324194
accent
#55EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DFC742

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

Preview Lab → · Contrast checker → · Palette generator →

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