#DFB945#DFB945

#DFB945 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.9% C 0.138 H 90.5°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#DFB945
RGBrgb(223, 185, 69)
HSLhsl(45, 71%, 57%)
HSVhsv(45, 69%, 87%)
CMYKcmyk(0%, 17%, 69.1%, 12.5%)
CIE-LABlab(76.57, 1.52, 61.46)
CIE-LCHlch(76.57, 61.48, 88.58°)
OKLaboklab(79.86% -0.0012 0.1377)
OKLCHoklch(79.86% 0.138 90.5)
XYZxyz(48.8572, 50.8185, 12.8646)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB945 #456BDF
analogous
#DF6C45 #DFB945 #B8DF45
triadic
#DFB945 #45DFB9 #B945DF
tetradic
#DFB945 #45DF6C #456BDF #DF45B8
square
#DFB945 #45DF6C #456BDF #DF45B8
split-complementary
#DFB945 #45B8DF #6C45DF
monochromatic
#917319 #C59D22 #DFB945 #E8CD79 #F1E0AD

Accessibility & contrast

On white

1.88
#DFB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#DFB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB945
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB945#FFFFFF#000000##000000
##DFB9451.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB736
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#F1AAA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfb945;
/* rgb */ color: rgb(223, 185, 69);
/* oklch */ color: oklch(79.9% 0.138 90.5);
Tailwind
colors: {
  custom: {
    50: '#edcd7f',
    500: '#dfb945',
    950: '#000000',
  },
}
SCSS
$custom: #dfb945;
$custom-light: #edcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb945",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 45.195,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79865,
    "c": 0.13775,
    "h": 90.5
  },
  "luminance": 0.50816
}

Semantic roles & 50–950 ramp

primary
#DFB945
secondary
#334B96
accent
#67ED3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFB945

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

Preview Lab → · Contrast checker → · Palette generator →

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