#DFBF38#DFBF38

#DFBF38 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 81.0% C 0.149 H 95.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#DFBF38
RGBrgb(223, 191, 56)
HSLhsl(49, 72%, 55%)
HSVhsv(49, 75%, 87%)
CMYKcmyk(0%, 14.3%, 74.9%, 12.5%)
CIE-LABlab(78.02, -2.21, 67.85)
CIE-LCHlch(78.02, 67.88, 91.86°)
OKLaboklab(80.98% -0.0133 0.1489)
OKLCHoklch(80.98% 0.149 95.1)
XYZxyz(49.7787, 53.2379, 11.3946)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF38 #3858DF
analogous
#DF6C38 #DFBF38 #ACDF38
triadic
#DFBF38 #38DFBF #BF38DF
tetradic
#DFBF38 #38DF6C #3858DF #DF38AC
square
#DFBF38 #38DF6C #3858DF #DF38AC
split-complementary
#DFBF38 #38ACDF #6C38DF
monochromatic
#877116 #BC9D1E #DFBF38 #E7D06D #F0E1A1

Accessibility & contrast

On white

1.80
#DFBF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#DFBF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF38
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF38#FFFFFF#000000##000000
##DFBF381.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1F
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#F1B0A5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf38;
/* rgb */ color: rgb(223, 191, 56);
/* oklch */ color: oklch(81.0% 0.149 95.1);
Tailwind
colors: {
  custom: {
    50: '#edd178',
    500: '#dfbf38',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf38;
$custom-light: #edd178;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf38",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 48.503,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80979,
    "c": 0.14947,
    "h": 95.1
  },
  "luminance": 0.53235
}

Semantic roles & 50–950 ramp

primary
#DFBF38
secondary
#2E408D
accent
#5CEF39
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#17140A
muted
#85837D

Preview Lab

Preview with #DFBF38

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

Preview Lab → · Contrast checker → · Palette generator →

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