#DFCB2B#DFCB2B

#DFCB2B is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.164 H 101.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DFCB2B
RGBrgb(223, 203, 43)
HSLhsl(53, 74%, 52%)
HSVhsv(53, 81%, 87%)
CMYKcmyk(0%, 9%, 80.7%, 12.5%)
CIE-LABlab(81.06, -8.82, 74.65)
CIE-LCHlch(81.06, 75.17, 96.74°)
OKLaboklab(83.37% -0.0331 0.161)
OKLCHoklch(83.37% 0.164 101.6)
XYZxyz(52.2260, 58.5767, 10.8405)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB2B #2B3FDF
analogous
#DF712B #DFCB2B #99DF2B
triadic
#DFCB2B #2BDFCB #CB2BDF
tetradic
#DFCB2B #2BDF71 #2B3FDF #DF2B99
square
#DFCB2B #2BDF71 #2B3FDF #DF2B99
split-complementary
#DFCB2B #2B99DF #712BDF
monochromatic
#7D7113 #B2A11B #DFCB2B #E7D860 #EFE595

Accessibility & contrast

On white

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

On black

12.71
#DFCB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB2B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB2B#FFFFFF#000000##000000
##DFCB2B1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#E4CD39
Tritanopia (blue-blind)
#F1BCAE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfcb2b;
/* rgb */ color: rgb(223, 203, 43);
/* oklch */ color: oklch(83.4% 0.164 101.6);
Tailwind
colors: {
  custom: {
    50: '#eeda74',
    500: '#dfcb2b',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb2b;
$custom-light: #eeda74;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb2b",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 43
  },
  "hsl": {
    "h": 53.333,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.83371,
    "c": 0.16434,
    "h": 101.6
  },
  "luminance": 0.58574
}

Semantic roles & 50–950 ramp

primary
#DFCB2B
secondary
#2A3484
accent
#4CF037
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #DFCB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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