Skip to content

#dbec7c

a light, vivid yellow · warm · closest name: Khaki

RGB
219, 236, 124
HSL
69°, 75%, 71%
CMYK
7, 0, 48, 8
Luminance
0.7651

At a glance

Every number on this page in one read: what #dbec7c is made of, how bright it looks, and which way it leans.

Hex
#dbec7c
Hue
69°
yellow
Saturation
75%
vivid
Lightness
71%
light
Brightness
93%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7651
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.30:1
Closest name
Khaki
ΔE2000 6.9
Where it sits
Hue69° of 360°
Saturation75%
Lightness71%
Temperature
Warm ← → Cool33% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#dbec7c
RGBrgb(219, 236, 124)
HSLhsl(69, 75%, 71%)
CMYKcmyk(7%, 0%, 48%, 8%)
LABlab(90.1 -21.7 52.0)
LCHlch(90.1 56.4 112.6)
OKLCHoklch(0.907 0.138 116.3)
Decimal14412924
Display P3color(display-p3 0.859 0.925 0.486)

Copy-ready code

/* CSS */
color: #dbec7c;
background-color: #dbec7c;
/* Tailwind (arbitrary) */
class="text-[#dbec7c] bg-[#dbec7c]"
/* SCSS */
$brand: #dbec7c;
/* SwiftUI */
Color(red: 0.859, green: 0.925, blue: 0.486)
/* Android */
Color.parseColor("#dbec7c")
/* Flutter */
Color(0xFFDBEC7C)
/* Python / OpenCV (BGR) */
(124, 236, 219)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #dbec7c · 16.30:1
Use #000000AAA at every size.
Aa
White text · 1.29:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.30:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #dbec7c as text scores 1.29:1 on white and 16.30:1 on black.

Accessibility — WCAG contrast

Aa
#dbec7c on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#dbec7c on black: 16.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9E272
deuteranopia · #F8E482
tritanopia · #E6E1D2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dbec7c is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFCF3
#F6F9E7
#EDF4C8
#E4F19D
#dbec7c
#C9E33B
#BAD61F
#9BB21A
#7C8F15
#5B6713
#39410C
Base = 400Lightest = 50 · #FAFCF3Darkest = 950 · #39410C
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F6F9E7;
  --brand-200: #EDF4C8;
  --brand-300: #E4F19D;
  --brand-400: #dbec7c;
  --brand-500: #C9E33B;
  --brand-600: #BAD61F;
  --brand-700: #9BB21A;
  --brand-800: #7C8F15;
  --brand-900: #5B6713;
  --brand-950: #39410C;
  --brand: #dbec7c;
  --brand-ink: #000000;
}

Colors that work with #dbec7c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E6EDC0
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#7985EF
Second voice, not a rival
Dark variant#616F10
Hover, pressed, headers
Light variant#F9FCE9
Selected rows, tints
Dark surface#222414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #dbec7c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#8D7CEC
Analogous left#ECC57C
Analogous right#A3EC7C
Split-complement 1#7CA3EC
Split-complement 2#C57CEC
Triadic 1#7CDBEC
Triadic 2#EC7CDB
Tetradic#7CECC5

RGB percentages

Red85.9%
Green92.5%
Blue48.6%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow47.5%
Key (black)7.5%

Color previews

#dbec7c text on a black background

contrast 16.30:1

Card sample

#dbec7c text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dbec7c;
Background color
Panel with #dbec7c background
background-color: #dbec7c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dbec7c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(219, 236, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 236, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbec7c;
background: linear-gradient(135deg, #dbec7c, #90EC7C);

Monochromatic scale

Palettes built from #dbec7c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#dbec7c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#dbec7c, answered

What color is #dbec7c?

#dbec7c is a light vivid yellow, closest to Khaki (ΔE2000 6.9). It sits at 69° on the hue wheel with 75% saturation and 71% lightness, which reads as warm.

What is the RGB value of #dbec7c?

rgb(219, 236, 124) — 219 red, 236 green and 124 blue out of 255, or 85.9% / 92.5% / 48.6% by channel.

Is #dbec7c a light or a dark color?

It is a light color. Relative luminance is 0.7651 and perceived brightness is 87%, so black text on it reaches 16.30:1.

Should I use black or white text on #dbec7c?

Black. It scores 16.30:1 against #dbec7c, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #dbec7c?

#8D7CEC sits directly opposite on the wheel. Softer options are the split-complements #7CA3EC and #C57CEC, which give the same contrast with far less vibration.

What colors go well with #dbec7c?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8F9B4B for secondary text, #7985EF as an accent and #616F10 for hover and pressed states. For a palette, the analogous pair #ECC57C and #A3EC7C stays calm, while #8D7CEC is the loudest partner.

What is #dbec7c in CMYK for printing?

cmyk(7%, 0%, 48%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #dbec7c warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ECD47C; nudged cooler, #B2EE7B.

Work with #dbec7c in the Color Lab