#DBC948#DBC948

#DBC948 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.147 H 101.3°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DBC948
RGBrgb(219, 201, 72)
HSLhsl(53, 67%, 57%)
HSVhsv(53, 67%, 86%)
CMYKcmyk(0%, 8.2%, 67.1%, 14.1%)
CIE-LABlab(80.35, -8.28, 64.01)
CIE-LCHlch(80.35, 64.55, 97.37°)
OKLaboklab(82.78% -0.0287 0.1438)
OKLCHoklch(82.78% 0.147 101.3)
XYZxyz(51.2720, 57.3034, 14.4896)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC948 #485ADB
analogous
#DB8048 #DBC948 #A4DB48
triadic
#DBC948 #48DBC9 #C948DB
tetradic
#DBC948 #48DB80 #485ADB #DB48A4
square
#DBC948 #48DB80 #485ADB #DB48A4
split-complementary
#DBC948 #48A4DB #8048DB
monochromatic
#8D7F1C #C0AD26 #DBC948 #E5D87B #EFE7AE

Accessibility & contrast

On white

1.69
#DBC948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#DBC948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC948
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC948#FFFFFF#000000##000000
##DBC9481.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#E0CB50
Tritanopia (blue-blind)
#EBBBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dbc948;
/* rgb */ color: rgb(219, 201, 72);
/* oklch */ color: oklch(82.8% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#ead982',
    500: '#dbc948',
    950: '#000000',
  },
}
SCSS
$custom: #dbc948;
$custom-light: #ead982;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc948",
  "rgb": {
    "r": 219,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 52.653,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82778,
    "c": 0.1466,
    "h": 101.3
  },
  "luminance": 0.57301
}

Semantic roles & 50–950 ramp

primary
#DBC948
secondary
#354092
accent
#53EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC948

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

Preview Lab → · Contrast checker → · Palette generator →

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