#DFC146#DFC146

#DFC146 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.142 H 95.2°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DFC146
RGBrgb(223, 193, 70)
HSLhsl(48, 71%, 57%)
HSVhsv(48, 69%, 87%)
CMYKcmyk(0%, 13.5%, 68.6%, 12.5%)
CIE-LABlab(78.62, -2.59, 63.16)
CIE-LCHlch(78.62, 63.21, 92.35°)
OKLaboklab(81.49% -0.0129 0.1415)
OKLCHoklch(81.49% 0.142 95.2)
XYZxyz(50.6094, 54.2728, 13.6031)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC146 #4664DF
analogous
#DF7446 #DFC146 #B1DF46
triadic
#DFC146 #46DFC1 #C146DF
tetradic
#DFC146 #46DF74 #4664DF #DF46B1
square
#DFC146 #46DF74 #4664DF #DF46B1
split-complementary
#DFC146 #46B1DF #7446DF
monochromatic
#917A19 #C6A622 #DFC146 #E8D27A #F1E4AE

Accessibility & contrast

On white

1.77
#DFC146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DFC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC146
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC146#FFFFFF#000000##000000
##DFC1461.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD35
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc146;
/* rgb */ color: rgb(223, 193, 70);
/* oklch */ color: oklch(81.5% 0.142 95.2);
Tailwind
colors: {
  custom: {
    50: '#edd380',
    500: '#dfc146',
    950: '#000000',
  },
}
SCSS
$custom: #dfc146;
$custom-light: #edd380;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc146",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 48.235,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.14208,
    "h": 95.2
  },
  "luminance": 0.5427
}

Semantic roles & 50–950 ramp

primary
#DFC146
secondary
#334696
accent
#5EED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC146

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

Preview Lab → · Contrast checker → · Palette generator →

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