#DFC152#DFC152

#DFC152 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.133 H 94.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#DFC152
RGBrgb(223, 193, 82)
HSLhsl(47, 69%, 60%)
HSVhsv(47, 63%, 87%)
CMYKcmyk(0%, 13.5%, 63.2%, 12.5%)
CIE-LABlab(78.72, -1.89, 58.20)
CIE-LCHlch(78.72, 58.24, 91.86°)
OKLaboklab(81.6% -0.0095 0.1329)
OKLCHoklch(81.6% 0.133 94.1)
XYZxyz(51.0267, 54.4397, 15.8012)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC152 #5270DF
analogous
#DF7B52 #DFC152 #B7DF52
triadic
#DFC152 #52DFC1 #C152DF
tetradic
#DFC152 #52DF7B #5270DF #DF52B7
square
#DFC152 #52DF7B #5270DF #DF52B7
split-complementary
#DFC152 #52B7DF #7B52DF
monochromatic
#9A7F1D #CEAA26 #DFC152 #E9D486 #F2E6B9

Accessibility & contrast

On white

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

On black

11.89
#DFC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC152
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC152#FFFFFF#000000##000000
##DFC1521.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#F0B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc152;
/* rgb */ color: rgb(223, 193, 82);
/* oklch */ color: oklch(81.6% 0.133 94.1);
Tailwind
colors: {
  custom: {
    50: '#ecd387',
    500: '#dfc152',
    950: '#000000',
  },
}
SCSS
$custom: #dfc152;
$custom-light: #ecd387;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc152",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 47.234,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81595,
    "c": 0.13323,
    "h": 94.1
  },
  "luminance": 0.54437
}

Semantic roles & 50–950 ramp

primary
#DFC152
secondary
#374D9E
accent
#62EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC152

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

Preview Lab → · Contrast checker → · Palette generator →

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