#DBB02F#DBB02F

#DBB02F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.5% C 0.145 H 89.0°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#DBB02F
RGBrgb(219, 176, 47)
HSLhsl(45, 70%, 52%)
HSVhsv(45, 79%, 86%)
CMYKcmyk(0%, 19.6%, 78.5%, 14.1%)
CIE-LABlab(73.75, 3.57, 66.84)
CIE-LCHlch(73.75, 66.93, 86.94°)
OKLaboklab(77.51% 0.0025 0.1451)
OKLCHoklch(77.51% 0.145 89)
XYZxyz(45.2546, 46.3190, 9.2457)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB02F #2F5ADB
analogous
#DB5A2F #DBB02F #B0DB2F
triadic
#DBB02F #2FDBB0 #B02FDB
tetradic
#DBB02F #2FDB5A #2F5ADB #DB2FB0
square
#DBB02F #2FDB5A #2F5ADB #DB2FB0
split-complementary
#DBB02F #2FB0DB #5A2FDB
monochromatic
#7A6115 #AF8A1E #DBB02F #E4C463 #EDD897

Accessibility & contrast

On white

2.05
#DBB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#DBB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB02F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB02F#FFFFFF#000000##000000
##DBB02F1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE12
Deuteranopia (green-blind)
#D0BA37
Tritanopia (blue-blind)
#EEA098
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dbb02f;
/* rgb */ color: rgb(219, 176, 47);
/* oklch */ color: oklch(77.5% 0.145 89.0);
Tailwind
colors: {
  custom: {
    50: '#ebc772',
    500: '#dbb02f',
    950: '#000000',
  },
}
SCSS
$custom: #dbb02f;
$custom-light: #ebc772;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb02f",
  "rgb": {
    "r": 219,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77509,
    "c": 0.14511,
    "h": 89
  },
  "luminance": 0.46316
}

Semantic roles & 50–950 ramp

primary
#DBB02F
secondary
#8DA0D8
accent
#67ED3B
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DBB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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