#DBB22E#DBB22E

#DBB22E is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.9% C 0.147 H 90.3°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#DBB22E
RGBrgb(219, 178, 46)
HSLhsl(46, 71%, 52%)
HSVhsv(46, 79%, 86%)
CMYKcmyk(0%, 18.7%, 79%, 14.1%)
CIE-LABlab(74.25, 2.48, 67.62)
CIE-LCHlch(74.25, 67.67, 87.90°)
OKLaboklab(77.9% -0.0007 0.1466)
OKLCHoklch(77.9% 0.147 90.3)
XYZxyz(45.6297, 47.1011, 9.2723)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DBB22E #2E57DB
analogous
#DB5B2E #DBB22E #AEDB2E
triadic
#DBB22E #2EDBB2 #B22EDB
tetradic
#DBB22E #2EDB5B #2E57DB #DB2EAE
square
#DBB22E #2EDB5B #2E57DB #DB2EAE
split-complementary
#DBB22E #2EAEDB #5B2EDB
monochromatic
#7A6215 #AE8C1E #DBB22E #E4C562 #EDD896

Accessibility & contrast

On white

2.02
#DBB22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#DBB22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DBB22E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DBB22E#FFFFFF#000000##000000
##DBB22E1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B00E
Deuteranopia (green-blind)
#D1BB36
Tritanopia (blue-blind)
#EDA299
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dbb22e;
/* rgb */ color: rgb(219, 178, 46);
/* oklch */ color: oklch(77.9% 0.147 90.3);
Tailwind
colors: {
  custom: {
    50: '#ebc872',
    500: '#dbb22e',
    950: '#000000',
  },
}
SCSS
$custom: #dbb22e;
$custom-light: #ebc872;
$custom-dark: #000000;
JSON
{
  "hex": "#dbb22e",
  "rgb": {
    "r": 219,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 45.78,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77903,
    "c": 0.14656,
    "h": 90.3
  },
  "luminance": 0.47098
}

Semantic roles & 50–950 ramp

primary
#DBB22E
secondary
#8D9ED8
accent
#65ED3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DBB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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