#DBD74B#DBD74B

#DBD74B is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.157 H 107.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#DBD74B
RGBrgb(219, 215, 75)
HSLhsl(58, 67%, 58%)
HSVhsv(58, 66%, 86%)
CMYKcmyk(0%, 1.8%, 65.8%, 14.1%)
CIE-LABlab(84.05, -15.15, 66.63)
CIE-LCHlch(84.05, 68.33, 102.81°)
OKLaboklab(85.73% -0.0478 0.1498)
OKLCHoklch(85.73% 0.157 107.7)
XYZxyz(54.7858, 64.1707, 16.1555)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBD74B #4B4FDB
analogous
#DB8F4B #DBD74B #97DB4B
triadic
#DBD74B #4BDBD7 #D74BDB
tetradic
#DBD74B #4BDB8F #4B4FDB #DB4B97
square
#DBD74B #4BDB8F #4B4FDB #DB4B97
split-complementary
#DBD74B #4B97DB #8F4BDB
monochromatic
#8F8C1D #C2BE27 #DBD74B #E5E27E #EFEEB1

Accessibility & contrast

On white

1.52
#DBD74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#DBD74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBD74B
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBD74B#FFFFFF#000000##000000
##DBD74B1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF37
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#EACABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dbd74b;
/* rgb */ color: rgb(219, 215, 75);
/* oklch */ color: oklch(85.7% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#eae385',
    500: '#dbd74b',
    950: '#000000',
  },
}
SCSS
$custom: #dbd74b;
$custom-light: #eae385;
$custom-dark: #000000;
JSON
{
  "hex": "#dbd74b",
  "rgb": {
    "r": 219,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 58.333,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.15721,
    "h": 107.7
  },
  "luminance": 0.64169
}

Semantic roles & 50–950 ramp

primary
#DBD74B
secondary
#363994
accent
#43EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DBD74B

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

Preview Lab → · Contrast checker → · Palette generator →

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