#DBC248#DBC248

#DBC248 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.141 H 97.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DBC248
RGBrgb(219, 194, 72)
HSLhsl(50, 67%, 57%)
HSVhsv(50, 67%, 86%)
CMYKcmyk(0%, 11.4%, 67.1%, 14.1%)
CIE-LABlab(78.53, -4.69, 62.14)
CIE-LCHlch(78.53, 62.31, 94.32°)
OKLaboklab(81.33% -0.0184 0.1398)
OKLCHoklch(81.33% 0.141 97.5)
XYZxyz(49.6772, 54.1139, 13.9580)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBC248 #4861DB
analogous
#DB7948 #DBC248 #ABDB48
triadic
#DBC248 #48DBC2 #C248DB
tetradic
#DBC248 #48DB79 #4861DB #DB48AB
square
#DBC248 #48DB79 #4861DB #DB48AB
split-complementary
#DBC248 #48ABDB #7948DB
monochromatic
#8D7A1C #C0A626 #DBC248 #E5D37B #EFE4AE

Accessibility & contrast

On white

1.78
#DBC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DBC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBC248
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBC248#FFFFFF#000000##000000
##DBC2481.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD38
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#ECB4A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dbc248;
/* rgb */ color: rgb(219, 194, 72);
/* oklch */ color: oklch(81.3% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#ead481',
    500: '#dbc248',
    950: '#000000',
  },
}
SCSS
$custom: #dbc248;
$custom-light: #ead481;
$custom-dark: #000000;
JSON
{
  "hex": "#dbc248",
  "rgb": {
    "r": 219,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 49.796,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81333,
    "c": 0.14101,
    "h": 97.5
  },
  "luminance": 0.54112
}

Semantic roles & 50–950 ramp

primary
#DBC248
secondary
#354592
accent
#5BEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DBC248

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

Preview Lab → · Contrast checker → · Palette generator →

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