#DFBE51#DFBE51

#DFBE51 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 81.0% C 0.132 H 92.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#DFBE51
RGBrgb(223, 190, 81)
HSLhsl(46, 69%, 60%)
HSVhsv(46, 64%, 87%)
CMYKcmyk(0%, 14.8%, 63.7%, 12.5%)
CIE-LABlab(77.94, -0.40, 57.80)
CIE-LCHlch(77.94, 57.80, 90.39°)
OKLaboklab(80.98% -0.0053 0.1319)
OKLCHoklch(80.98% 0.132 92.3)
XYZxyz(50.3325, 53.1117, 15.3834)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBE51 #5172DF
analogous
#DF7751 #DFBE51 #B9DF51
triadic
#DFBE51 #51DFBE #BE51DF
tetradic
#DFBE51 #51DF77 #5172DF #DF51B9
square
#DFBE51 #51DF77 #5172DF #DF51B9
split-complementary
#DFBE51 #51B9DF #7751DF
monochromatic
#997C1C #CDA626 #DFBE51 #E9D185 #F2E5B8

Accessibility & contrast

On white

1.81
#DFBE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#DFBE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBE51
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBE51#FFFFFF#000000##000000
##DFBE511.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#F0B0A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbe51;
/* rgb */ color: rgb(223, 190, 81);
/* oklch */ color: oklch(81.0% 0.132 92.3);
Tailwind
colors: {
  custom: {
    50: '#ecd186',
    500: '#dfbe51',
    950: '#000000',
  },
}
SCSS
$custom: #dfbe51;
$custom-light: #ecd186;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbe51",
  "rgb": {
    "r": 223,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 46.056,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80979,
    "c": 0.132,
    "h": 92.3
  },
  "luminance": 0.53109
}

Semantic roles & 50–950 ramp

primary
#DFBE51
secondary
#374F9D
accent
#65EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFBE51

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

Preview Lab → · Contrast checker → · Palette generator →

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