#DFBE4F#DFBE4F

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

Color values

HEX#DFBE4F
RGBrgb(223, 190, 79)
HSLhsl(46, 69%, 59%)
HSVhsv(46, 65%, 87%)
CMYKcmyk(0%, 14.8%, 64.6%, 12.5%)
CIE-LABlab(77.92, -0.52, 58.66)
CIE-LCHlch(77.92, 58.66, 90.51°)
OKLaboklab(80.96% -0.0059 0.1334)
OKLCHoklch(80.96% 0.134 92.5)
XYZxyz(50.2586, 53.0821, 14.9943)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBE4F #4F70DF
analogous
#DF764F #DFBE4F #B8DF4F
triadic
#DFBE4F #4FDFBE #BE4FDF
tetradic
#DFBE4F #4FDF76 #4F70DF #DF4FB8
square
#DFBE4F #4FDF76 #4F70DF #DF4FB8
split-complementary
#DFBE4F #4FB8DF #764FDF
monochromatic
#987B1C #CCA625 #DFBE4F #E8D183 #F2E4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBE4F#FFFFFF#000000##000000
##DFBE4F1.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)
#D1BB42
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#F0B0A6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbe4f;
/* rgb */ color: rgb(223, 190, 79);
/* oklch */ color: oklch(81.0% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#ecd185',
    500: '#dfbe4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfbe4f;
$custom-light: #ecd185;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbe4f",
  "rgb": {
    "r": 223,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 46.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80959,
    "c": 0.13354,
    "h": 92.5
  },
  "luminance": 0.53079
}

Semantic roles & 50–950 ramp

primary
#DFBE4F
secondary
#364E9C
accent
#64EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFBE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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