#DFBF45#DFBF45

#DFBF45 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.1% C 0.141 H 94.1°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DFBF45
RGBrgb(223, 191, 69)
HSLhsl(48, 71%, 57%)
HSVhsv(48, 69%, 87%)
CMYKcmyk(0%, 14.3%, 69.1%, 12.5%)
CIE-LABlab(78.10, -1.60, 63.03)
CIE-LCHlch(78.10, 63.05, 91.46°)
OKLaboklab(81.07% -0.0102 0.1411)
OKLCHoklch(81.07% 0.141 94.1)
XYZxyz(50.1389, 53.3820, 13.2919)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF45 #4565DF
analogous
#DF7245 #DFBF45 #B2DF45
triadic
#DFBF45 #45DFBF #BF45DF
tetradic
#DFBF45 #45DF72 #4565DF #DF45B2
square
#DFBF45 #45DF72 #4565DF #DF45B2
split-complementary
#DFBF45 #45B2DF #7245DF
monochromatic
#917819 #C5A322 #DFBF45 #E8D179 #F1E3AD

Accessibility & contrast

On white

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

On black

11.68
#DFBF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF45
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF45#FFFFFF#000000##000000
##DFBF451.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#F1B0A6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf45;
/* rgb */ color: rgb(223, 191, 69);
/* oklch */ color: oklch(81.1% 0.141 94.1);
Tailwind
colors: {
  custom: {
    50: '#edd17f',
    500: '#dfbf45',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf45;
$custom-light: #edd17f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf45",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 47.532,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81073,
    "c": 0.14142,
    "h": 94.1
  },
  "luminance": 0.53379
}

Semantic roles & 50–950 ramp

primary
#DFBF45
secondary
#334796
accent
#60ED3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DFBF45

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

Preview Lab → · Contrast checker → · Palette generator →

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