#DFCB42#DFCB42

#DFCB42 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.152 H 100.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#DFCB42
RGBrgb(223, 203, 66)
HSLhsl(52, 71%, 57%)
HSVhsv(52, 70%, 87%)
CMYKcmyk(0%, 9%, 70.4%, 12.5%)
CIE-LABlab(81.18, -7.92, 67.28)
CIE-LCHlch(81.18, 67.74, 96.71°)
OKLaboklab(83.51% -0.0285 0.1495)
OKLCHoklch(83.51% 0.152 100.8)
XYZxyz(52.7731, 58.7956, 13.7221)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB42 #4256DF
analogous
#DF7D42 #DFCB42 #A4DF42
triadic
#DFCB42 #42DFCB #CB42DF
tetradic
#DFCB42 #42DF7D #4256DF #DF42A4
square
#DFCB42 #42DF7D #4256DF #DF42A4
split-complementary
#DFCB42 #42A4DF #7D42DF
monochromatic
#8E7F18 #C3AE21 #DFCB42 #E8D976 #F1E8AB

Accessibility & contrast

On white

1.65
#DFCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#DFCB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB42
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB42#FFFFFF#000000##000000
##DFCB421.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52D
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#F0BDB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb42;
/* rgb */ color: rgb(223, 203, 66);
/* oklch */ color: oklch(83.5% 0.152 100.8);
Tailwind
colors: {
  custom: {
    50: '#edda7f',
    500: '#dfcb42',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb42;
$custom-light: #edda7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb42",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 52.357,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83506,
    "c": 0.15221,
    "h": 100.8
  },
  "luminance": 0.58793
}

Semantic roles & 50–950 ramp

primary
#DFCB42
secondary
#323E94
accent
#51EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFCB42

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

Preview Lab → · Contrast checker → · Palette generator →

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