#DFC148#DFC148

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

Color values

HEX#DFC148
RGBrgb(223, 193, 72)
HSLhsl(48, 70%, 58%)
HSVhsv(48, 68%, 87%)
CMYKcmyk(0%, 13.5%, 67.7%, 12.5%)
CIE-LABlab(78.64, -2.48, 62.36)
CIE-LCHlch(78.64, 62.41, 92.28°)
OKLaboklab(81.5% -0.0123 0.1402)
OKLCHoklch(81.5% 0.141 95)
XYZxyz(50.6736, 54.2985, 13.9412)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC148 #4866DF
analogous
#DF7548 #DFC148 #B2DF48
triadic
#DFC148 #48DFC1 #C148DF
tetradic
#DFC148 #48DF75 #4866DF #DF48B2
square
#DFC148 #48DF75 #4866DF #DF48B2
split-complementary
#DFC148 #48B2DF #7548DF
monochromatic
#937B1A #C7A623 #DFC148 #E8D37C #F1E4B0

Accessibility & contrast

On white

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

On black

11.86
#DFC148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC148
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC148#FFFFFF#000000##000000
##DFC1481.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#F0B3A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc148;
/* rgb */ color: rgb(223, 193, 72);
/* oklch */ color: oklch(81.5% 0.141 95.0);
Tailwind
colors: {
  custom: {
    50: '#edd381',
    500: '#dfc148',
    950: '#000000',
  },
}
SCSS
$custom: #dfc148;
$custom-light: #edd381;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc148",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 48.079,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81504,
    "c": 0.14069,
    "h": 95
  },
  "luminance": 0.54296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC148

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

Preview Lab → · Contrast checker → · Palette generator →

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